PCI: use pci_is_root_bus() in acpi_find_root_bridge_handle()
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Tue, 26 May 2009 07:05:33 +0000 (16:05 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 16 Jun 2009 21:29:30 +0000 (14:29 -0700)
commita222b8f83b995e9c6fe2aff2a8125facb49f658e
tree05f9e579f69487e60573aa2ba60a6ebec763066f
parent84845c070ce3ac4d3bd2c148fa20ba8ce5409167
PCI: use pci_is_root_bus() in acpi_find_root_bridge_handle()

Use pci_is_root_bus() in acpi_find_root_bridge_handle() 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>
include/linux/pci-acpi.h