summaryrefslogtreecommitdiffstats
path: root/drivers/pci/probe.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2020-07-21 20:25:05 -0600
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2020-07-23 11:20:50 +0100
commit6176a5f32751b9531980a2f23dca73d597d182e6 (patch)
treeec03f6c772173680a72865331f23a987cfef223c /drivers/pci/probe.c
parentd84c572de1a360501d2e439ac632126f5facf59d (diff)
downloadlinux-6176a5f32751b9531980a2f23dca73d597d182e6.tar.bz2
PCI: rcar: Use pci_is_root_bus() to check if bus is root bus
Use pci_is_root_bus() rather than tracking the root bus number to determine if the bus is the root bus or not. This removes storing duplicated data as well as the need for the host bridge driver to have to care about the bus numbers in most cases. Link: https://lore.kernel.org/r/20200722022514.1283916-11-robh@kernel.org Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com> Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Cc: Bjorn Helgaas <bhelgaas@google.com> Cc: linux-renesas-soc@vger.kernel.org
Diffstat (limited to 'drivers/pci/probe.c')
0 files changed, 0 insertions, 0 deletions