diff options
author | 2025-01-13 17:15:56 -0600 | |
---|---|---|
committer | 2025-01-15 15:26:51 -0600 | |
commit | bbaa022917fcddad078cdef1f97a2ccdb6ce80de (patch) | |
tree | 252a9465ff8b4271c81cd5e5bfbdd8436df5a04e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PCI: of: Drop 'No bus range found' message (diff) | |
download | wireguard-linux-bbaa022917fcddad078cdef1f97a2ccdb6ce80de.tar.xz wireguard-linux-bbaa022917fcddad078cdef1f97a2ccdb6ce80de.zip |
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-postgresql.py')
0 files changed, 0 insertions, 0 deletions