powerpc/PCI: Use pci_is_bridge() to simplify code
authorYijing Wang <wangyijing@huawei.com>
Sun, 4 May 2014 04:23:41 +0000 (12:23 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 27 May 2014 20:57:36 +0000 (14:57 -0600)
commitc888770eb2c9fcc5e735965237759ffbe3a3eee9
tree0b1378bc7541a3303cee995a487256f7f791434f
parent11a3bd095cb1ab62545b3c2105bc11c942063568
powerpc/PCI: Use pci_is_bridge() to simplify code

Use pci_is_bridge() to simplify code.  No functional change.

Requires: 326c1cdae741 PCI: Rename pci_is_bridge() to pci_has_subordinate()
Requires: 1c86438c9423 PCI: Add new pci_is_bridge() interface
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/powerpc/kernel/pci-hotplug.c
arch/powerpc/kernel/pci_of_scan.c