]> git.karo-electronics.de Git - linux-beck.git/commit
PCI: use pci_is_root_bus() in pci_get_interrupt_pin()
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Tue, 26 May 2009 07:07:33 +0000 (16:07 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 16 Jun 2009 21:29:31 +0000 (14:29 -0700)
commit8784fd4d497171882319e4b513f5a5949fc8ab43
treea3cffbfce49e21b00dcebfeab8bc0c2ebd004c20
parent9fc39256508c18d2861de11622183dfb6e79de87
PCI: use pci_is_root_bus() in pci_get_interrupt_pin()

Use pci_is_root_bus() in pci_get_interrupt_pin() for checking 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/pci.c