Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2228915 Upstream Status: 09cc900632400079619e9154604fd299c2cc9a5a commit 09cc900632400079619e9154604fd299c2cc9a5a Author: Mika Westerberg <mika.westerberg@linux.intel.com> Date: Thu Mar 30 19:24:30 2023 +0300 PCI: Introduce pci_dev_for_each_resource() Instead of open-coding it everywhere introduce a tiny helper that can be used to iterate over each resource of a PCI device, and convert the most obvious users into it. While at it drop doubled empty line before pdev_sort_resources(). No functional changes intended. Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20230330162434.35055-4-andriy.shevchenko@linux.intel.com Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Krzysztof Wilczyński <kw@linux.com> Signed-off-by: Myron Stowe <mstowe@redhat.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
board-d2net.c | ||
board-dt.c | ||
board-mss2.c | ||
board-rd88f5182.c | ||
bridge-regs.h | ||
common.c | ||
common.h | ||
db88f5281-setup.c | ||
dns323-setup.c | ||
irq.c | ||
irqs.h | ||
kurobox_pro-setup.c | ||
ls_hgl-setup.c | ||
mpp.c | ||
mpp.h | ||
mv2120-setup.c | ||
net2big-setup.c | ||
orion5x.h | ||
pci.c | ||
rd88f5181l-fxo-setup.c | ||
rd88f5181l-ge-setup.c | ||
rd88f5182-setup.c | ||
rd88f6183ap-ge-setup.c | ||
terastation_pro2-setup.c | ||
ts78xx-fpga.h | ||
ts78xx-setup.c | ||
ts209-setup.c | ||
ts409-setup.c | ||
tsx09-common.c | ||
tsx09-common.h | ||
wnr854t-setup.c | ||
wrt350n-v2-setup.c |