diff options
author | Andy Shevchenko <[email protected]> | 2023-04-04 10:45:25 -0500 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2023-04-05 15:10:09 -0500 |
commit | 02992064bdffc97403b6058491094cd41d1a11ef (patch) | |
tree | 6aa20b8e594b33ee6627b973c0b44ac290591d68 /drivers/usb/cdns3/cdns3-debug.h | |
parent | ceb928be5cab32043f230bcb1adeb0a9a9b8f0f2 (diff) |
PCI: Make pci_bus_for_each_resource() index optional
Refactor pci_bus_for_each_resource() in the same way as
pci_dev_for_each_resource(). This allows the index to be hidden inside the
implementation so the caller can omit it when it's not used otherwise.
No functional changes intended.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Krzysztof Wilczyński <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions