]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcc3be6c2c8022881beaf0950490c1ce64075e4cd
tree0b1378bc7541a3303cee995a487256f7f791434f
parentcd22aa5a21688f16a514f952476573216257371b
powerpc/PCI: Use pci_is_bridge() to simplify code

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

Requires: d588d50526f7 PCI: Rename pci_is_bridge() to pci_has_subordinate()
Requires: 53fa6658f9c6 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