diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2025-01-14 02:15:56 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2025-01-16 00:26:51 +0300 |
commit | bbaa022917fcddad078cdef1f97a2ccdb6ce80de (patch) | |
tree | 252a9465ff8b4271c81cd5e5bfbdd8436df5a04e /tools/perf/scripts/python/export-to-sqlite.py | |
parent | adda86bf46440105e2459814a1284ea63a2b7032 (diff) | |
download | linux-bbaa022917fcddad078cdef1f97a2ccdb6ce80de.tar.xz |
PCI: of: Simplify devm_of_pci_get_host_bridge_resources() interface
Previously pci_parse_request_of_pci_ranges() supplied the default bus range
to devm_of_pci_get_host_bridge_resources(), but that function is static and
has no other callers, so there's no reason to complicate its interface by
passing the default bus range.
Drop the busno and bus_max parameters and use 0x0 and 0xff directly in
devm_of_pci_get_host_bridge_resources().
Link: https://lore.kernel.org/r/20250113231557.441289-4-helgaas@kernel.org
[bhelgaas: dev_warn() for invalid end of bus-range]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions