[PATCH -next 00/36] use devm_platform_ioremap_resource() to simplify code

YueHaibing
2019-09-04T13:59:41Z

devm_platform_ioremap_resource() internally have platform_get_resource()
and devm_ioremap_resource() in it. So instead of calling them separately
use devm_platform_ioremap_resource() directly.

YueHaibing (36):
spi: altera: use devm_platform_ioremap_resource() to simplify code
spi: a3700: use devm_platform_ioremap_resource() to simplify code
spi: ath79: use devm_platform_ioremap_resource() to simplify code
spi: spi-axi: use devm_platform_ioremap_resource() to simplify code
spi: bcm2835aux: use devm_platform_ioremap_resource() to simplify code
spi: bcm2835: use devm_platform_ioremap_resource() to simplify code
spi: bcm63xx-hsspi: use devm_platform_ioremap_resource() to simplify
code
spi: cadence: use devm_platform_ioremap_resource() to simplify code
spi: octeon: use devm_platform_ioremap_resource() to simplify code
spi: clps711x: use devm_platform_ioremap_resource() to simplify code
spi: coldfire-qspi: use devm_platform_ioremap_resource() to simplify
code
spi: dw-mmio: use devm_platform_ioremap_resource() to simplify code
spi: spi-geni-qcom: use devm_platform_ioremap_resource() to simplify
code
spi: lp-8841: use devm_platform_ioremap_resource() to simplify code
spi: meson-spicc: use devm_platform_ioremap_resource() to simplify
code
spi: spi-meson-spifc: use devm_platform_ioremap_resource() to simplify
code
spi: mt7621: use devm_platform_ioremap_resource() to simplify code
spi: mxs: use devm_platform_ioremap_resource() to simplify code
spi: npcm: use devm_platform_ioremap_resource() to simplify code
spi: nuc900: use devm_platform_ioremap_resource() to simplify code
spi: oc-tiny: use devm_platform_ioremap_resource() to simplify code
spi: pic32-sqi: use devm_platform_ioremap_resource() to simplify code
spi: spi-qcom-qspi: use devm_platform_ioremap_resource() to simplify
code
spi: rb4xx: use devm_platform_ioremap_resource() to simplify code
spi: s3c24xx: use devm_platform_ioremap_resource() to simplify code
spi: sifive: use devm_platform_ioremap_resource() to simplify code
spi: sirf: use devm_platform_ioremap_resource() to simplify code
spi: st-ssc4: use devm_platform_ioremap_resource() to simplify code
spi: sun4i: use devm_platform_ioremap_resource() to simplify code
spi: sun6i: use devm_platform_ioremap_resource() to simplify code
spi: tegra: use devm_platform_ioremap_resource() to simplify code
spi: uniphier: use devm_platform_ioremap_resource() to simplify code
spi: xlp: use devm_platform_ioremap_resource() to simplify code
spi: zynqmp: use devm_platform_ioremap_resource() to simplify code
spi: zynq-qspi: use devm_platform_ioremap_resource() to simplify code
spi: fsl-spi: use devm_platform_ioremap_resource() to simplify code

drivers/spi/spi-altera.c | 4 +---
drivers/spi/spi-armada-3700.c | 4 +---
drivers/spi/spi-ath79.c | 4 +---
drivers/spi/spi-axi-spi-engine.c | 4 +---
drivers/spi/spi-bcm2835.c | 4 +---
drivers/spi/spi-bcm2835aux.c | 4 +---
drivers/spi/spi-bcm63xx-hsspi.c | 4 +---
drivers/spi/spi-cadence.c | 4 +---
drivers/spi/spi-cavium-octeon.c | 4 +---
drivers/spi/spi-clps711x.c | 4 +---
drivers/spi/spi-coldfire-qspi.c | 4 +---
drivers/spi/spi-dw-mmio.c | 4 +---
drivers/spi/spi-fsl-cpm.c | 6 ++----
drivers/spi/spi-geni-qcom.c | 4 +---
drivers/spi/spi-lp8841-rtc.c | 4 +---
drivers/spi/spi-meson-spicc.c | 4 +---
drivers/spi/spi-meson-spifc.c | 4 +---
drivers/spi/spi-mt7621.c | 4 +---
drivers/spi/spi-mxs.c | 4 +---
drivers/spi/spi-npcm-pspi.c | 4 +---
drivers/spi/spi-nuc900.c | 4 +---
drivers/spi/spi-oc-tiny.c | 4 +---
drivers/spi/spi-pic32-sqi.c | 4 +---
drivers/spi/spi-qcom-qspi.c | 4 +---
drivers/spi/spi-rb4xx.c | 4 +---
drivers/spi/spi-s3c24xx.c | 4 +---
drivers/spi/spi-sifive.c | 4 +---
drivers/spi/spi-sirf.c | 4 +---
drivers/spi/spi-st-ssc4.c | 4 +---
drivers/spi/spi-sun4i.c | 4 +---
drivers/spi/spi-sun6i.c | 4 +---
drivers/spi/spi-tegra20-sflash.c | 4 +---
drivers/spi/spi-uniphier.c | 4 +---
drivers/spi/spi-xlp.c | 4 +---
drivers/spi/spi-zynq-qspi.c | 4 +---
drivers/spi/spi-zynqmp-gqspi.c | 4 +---
36 files changed, 37 insertions(+), 109 deletions(-)

--
2.7.4