PCI: use pci_is_root_bus() in acpi_pci_get_bridge_handle()
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Tue, 26 May 2009 07:05:06 +0000 (16:05 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 16 Jun 2009 21:29:29 +0000 (14:29 -0700)
commit84845c070ce3ac4d3bd2c148fa20ba8ce5409167
tree755312ab296c6af67e6268ee1abf7b1c403a1518
parent74c57428971d28863ec1804b1dd453930bbe1306
PCI: use pci_is_root_bus() in acpi_pci_get_bridge_handle()

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

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