linux-stable/arch/sh/drivers
Mika Westerberg 09cc900632 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>
2023-04-04 10:43:52 -05:00
..
dma sh: dma: fix kconfig dependency for G2_DMA 2021-01-06 19:55:22 -05:00
pci PCI: Introduce pci_dev_for_each_resource() 2023-04-04 10:43:52 -05:00
superhyway sh: drivers: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
heartbeat.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile drivers: move the early platform device support to arch/sh 2019-10-07 13:50:47 +02:00
platform_early.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
push-switch.c treewide: Convert del_timer*() to timer_shutdown*() 2022-12-25 13:38:09 -08:00