PCI: use pci_is_root_bus() in pci_find_upstream_pcie_bridge()
commit6e3f36df0ffa433e273c89f1447c94382a9db49e
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Tue, 26 May 2009 07:06:10 +0000 (26 16:06 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 16 Jun 2009 21:29:30 +0000 (16 14:29 -0700)
tree47f29773dd108bd06d106aaabc7a097bd5373639
parenta222b8f83b995e9c6fe2aff2a8125facb49f658e
PCI: use pci_is_root_bus() in pci_find_upstream_pcie_bridge()

Use pci_is_root_bus() in pci_find_upstream_pcie_bridge() to check if
the pci bus is root, for code consistency.

Reviewed-by: Alex Chiang <achiang@hp.com>
Reviewed-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/search.c