Reduce the open code with create bus/scan bus. Make them more like updated pciehp driver. Need to apply it before for-pci-busn_res could be found at: git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git for-pci-hotplug Yinghai Lu (7): PCI, pciehp: Separate pci_hp_add_bridge() PCI, cpci_hotplug: Simplify configure_slot PCI, shpchp: Simplify configure_device PCI, cpqhp: Using pci_hp_add_bridge PCI, ibmhp: Using pci_hp_add_bridge PCI, sgihp: Using pci_hp_add_bridge PCI, hotplug: remove pci_do_scan_bus() drivers/pci/hotplug-pci.c | 30 +++++++++++++-------- drivers/pci/hotplug/cpci_hotplug_pci.c | 35 ++++-------------------- drivers/pci/hotplug/cpqphp_pci.c | 8 +++--- drivers/pci/hotplug/ibmphp_core.c | 8 +++--- drivers/pci/hotplug/pciehp_pci.c | 28 +------------------ drivers/pci/hotplug/sgi_hotplug.c | 12 +++----- drivers/pci/hotplug/shpchp_pci.c | 45 ++++++++++--------------------- drivers/pci/pci.h | 2 +- 8 files changed, 56 insertions(+), 112 deletions(-) -- 1.7.7 -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html