linux/drivers/pci/controller/mobiveil
Rob Herring 388637d972 PCI: mobiveil: 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-7-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: Karthikeyan Mitran <m.karthikeyan@mobiveil.co.in>
Cc: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
2020-07-23 11:20:50 +01:00
..
Kconfig PCI: mobiveil: Fix unmet dependency warning for PCIE_MOBIVEIL_PLAT 2020-03-18 10:39:52 +00:00
Makefile PCI: mobiveil: Add PCIe Gen4 RC driver for Layerscape SoCs 2020-02-21 11:54:12 +00:00
pcie-layerscape-gen4.c PCI: mobiveil: Add PCIe Gen4 RC driver for Layerscape SoCs 2020-02-21 11:54:12 +00:00
pcie-mobiveil-host.c PCI: mobiveil: Use pci_is_root_bus() to check if bus is root bus 2020-07-23 11:20:50 +01:00
pcie-mobiveil-plat.c
pcie-mobiveil.c PCI: mobiveil: Fix sparse different address space warnings 2020-03-17 15:38:20 +00:00
pcie-mobiveil.h PCI: mobiveil: Use pci_is_root_bus() to check if bus is root bus 2020-07-23 11:20:50 +01:00