diff options
author | 2011-10-28 16:28:08 -0600 | |
---|---|---|
committer | 2012-01-06 12:11:13 -0800 | |
commit | 46fbade05ca0784ca3c959bd7bf2aae7d81306c2 (patch) | |
tree | 3ae7eac1e40acd9d41813a8d44001659f811c8ba /drivers/i2c/algos/i2c-algo-bit.c | |
parent | x86/PCI: read Broadcom CNB20LE host bridge info before PCI scan (diff) | |
download | wireguard-linux-46fbade05ca0784ca3c959bd7bf2aae7d81306c2.tar.xz wireguard-linux-46fbade05ca0784ca3c959bd7bf2aae7d81306c2.zip |
x86/PCI: use pci_scan_bus() instead of pci_scan_bus_parented()
This doesn't change any functionality, but it makes a subsequent patch
slightly simpler.
pci_scan_bus(NULL, ...) and pci_scan_bus_parented() are identical except
that pci_scan_bus() also calls pci_bus_add_devices():
pci_scan_bus_parented
pci_create_bus
pci_scan_child_bus
pci_scan_bus
pci_create_bus
pci_scan_child_bus
pci_bus_add_devices
All callers of pcibios_scan_root() call pci_bus_add_devices() explicitly,
and we don't pass a parent device, so we might as well use pci_scan_bus().
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions