summaryrefslogtreecommitdiffstats
path: root/drivers/firmware
diff options
context:
space:
mode:
authorYijing Wang <wangyijing@huawei.com>2013-09-09 15:13:05 +0200
committerBjorn Helgaas <bhelgaas@google.com>2013-09-24 20:13:03 +0200
commitdcaa73dc3411c4d771d1d6a950c6b8a9c71da089 (patch)
tree48fb325e8393b39f3add14583d42aa0a23e60a09 /drivers/firmware
parenttile/PCI: use cached pci_dev->pcie_mpss to simplify code (diff)
downloadlinux-dcaa73dc3411c4d771d1d6a950c6b8a9c71da089.tar.xz
linux-dcaa73dc3411c4d771d1d6a950c6b8a9c71da089.zip
IB/qib: Use pci_is_root_bus() to check whether it is a root bus
Use pci_is_root_bus() instead of "if (bus->parent)" statement for better readability. Signed-off-by: Yijing Wang <wangyijing@huawei.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Diffstat (limited to 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions