sparc/PCI: Use pci_is_bridge() to simplify code
authorYijing Wang <wangyijing@huawei.com>
Sun, 4 May 2014 04:23:42 +0000 (12:23 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 27 May 2014 20:57:47 +0000 (14:57 -0600)
commit2f22e68ab4447a8e3491c09b616a565202eb322f
tree1f1fbfe2c8b4b3ed962888a648d3ea1fc03bca7e
parentc888770eb2c9fcc5e735965237759ffbe3a3eee9
sparc/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>
Acked-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/pci.c