]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PCI: Rename pci_is_bridge() to pci_has_subordinate()
authorYijing Wang <wangyijing@huawei.com>
Sun, 4 May 2014 04:23:36 +0000 (12:23 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 27 May 2014 17:23:46 +0000 (11:23 -0600)
commit326c1cdae74186bfab3464e8f3378c7fa324be12
treee6a048d8d8e81b8c707482713dfc44d14b88c622
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5
PCI: Rename pci_is_bridge() to pci_has_subordinate()

Previously, pci_is_bridge() returned true only when a subordinate bus
existed.  Rename pci_is_bridge() to pci_has_subordinate() to better
indicate what we're checking.

No functional change.

[bhelgaas: changelog]
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci-driver.c
drivers/pci/pci.h