diff options
author | Rob Herring <[email protected]> | 2020-07-21 20:25:00 -0600 |
---|---|---|
committer | Lorenzo Pieralisi <[email protected]> | 2020-07-23 11:20:50 +0100 |
commit | 552549386624583bfdbd1da7c5eeba951fd94336 (patch) | |
tree | 0e3ceb5d9b17480a7eef4c1cef8b745e8d134035 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 11e97973607fab2131be2a378c7da90a9729cc21 (diff) |
PCI: designware: 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/[email protected]
Signed-off-by: Rob Herring <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Acked-by: Bjorn Helgaas <[email protected]>
Cc: Richard Zhu <[email protected]>
Cc: Lucas Stach <[email protected]>
Cc: Lorenzo Pieralisi <[email protected]>
Cc: Bjorn Helgaas <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: Sascha Hauer <[email protected]>
Cc: Pengutronix Kernel Team <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: NXP Linux Team <[email protected]>
Cc: Murali Karicheri <[email protected]>
Cc: Jingoo Han <[email protected]>
Cc: Gustavo Pimentel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions