linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code
@ 2019-07-27 15:07 YueHaibing
  2019-07-27 15:07 ` [PATCH -next 01/34] ASoC: tegra20_das: " YueHaibing
                   ` (33 more replies)
  0 siblings, 34 replies; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

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 (34):
  ASoC: tegra20_das: use devm_platform_ioremap_resource() to simplify
    code
  ASoC: tegra: use devm_platform_ioremap_resource() to simplify code
  ASoC: rockchip: use devm_platform_ioremap_resource() to simplify code
  ASoC: ep93xx-i2s: use devm_platform_ioremap_resource() to simplify
    code
  ASoC: mt8173: use devm_platform_ioremap_resource() to simplify code
  ASoC: mt6797: use devm_platform_ioremap_resource() to simplify code
  ASoC: imx-audmux: use devm_platform_ioremap_resource() to simplify
    code
  ASoC: fsl_audmix: use devm_platform_ioremap_resource() to simplify
    code
  ASoC: bcm2835-i2s: use devm_platform_ioremap_resource() to simplify
    code
  ASoC: sirf: use devm_platform_ioremap_resource() to simplify code
  ASoC: mxs-saif: use devm_platform_ioremap_resource() to simplify code
  ASoC: spear: use devm_platform_ioremap_resource() to simplify code
  ASoC: kirkwood-i2s: use devm_platform_ioremap_resource() to simplify
    code
  ASoC: xtfpga-i2s: use devm_platform_ioremap_resource() to simplify
    code
  ASoC: stm32: sai: use devm_platform_ioremap_resource() to simplify
    code
  ASoC: codecs: msm8916-wcd: use devm_platform_ioremap_resource() to
    simplify code
  ASoC: codecs: jz4725b: use devm_platform_ioremap_resource() to
    simplify code
  ASoC: mmp-sspa: use devm_platform_ioremap_resource() to simplify code
  ASoC: jz4740: use devm_platform_ioremap_resource() to simplify code
  ASoC: inno_rk3036: use devm_platform_ioremap_resource() to simplify
    code
  ASoC: uniphier: evea: use devm_platform_ioremap_resource() to simplify
    code
  ASoC: uniphier: aio-dma: use devm_platform_ioremap_resource() to
    simplify code
  ASoC: psc-ac97: use devm_platform_ioremap_resource() to simplify code
  ASoC: au1x: psc-i2s: use devm_platform_ioremap_resource() to simplify
    code
  ASoC: meson: g12a-tohdmitx: use devm_platform_ioremap_resource() to
    simplify code
  ASoC: meson: axg-tdm-formatter: use devm_platform_ioremap_resource()
    to simplify code
  ASoC: meson: axg-pdm: use devm_platform_ioremap_resource() to simplify
    code
  ASoC: meson: axg-spdifin: use devm_platform_ioremap_resource() to
    simplify code
  ASoC: meson: axg-spdifout: use devm_platform_ioremap_resource() to
    simplify code
  ASoC: meson: axg-fifo: use devm_platform_ioremap_resource() to
    simplify code
  ASoC: xlnx: use devm_platform_ioremap_resource() to simplify code
  ASoC: sun8i-codec-analog: use devm_platform_ioremap_resource() to
    simplify code
  ASoC: sunxi: sun50i-codec-analog: use devm_platform_ioremap_resource()
    to simplify code
  ASoC: sun8i-codec: use devm_platform_ioremap_resource() to simplify
    code

 sound/soc/au1x/psc-ac97.c                  | 5 ++---
 sound/soc/au1x/psc-i2s.c                   | 5 ++---
 sound/soc/bcm/bcm2835-i2s.c                | 4 +---
 sound/soc/cirrus/ep93xx-i2s.c              | 4 +---
 sound/soc/codecs/inno_rk3036.c             | 4 +---
 sound/soc/codecs/jz4725b.c                 | 4 +---
 sound/soc/codecs/jz4740.c                  | 4 +---
 sound/soc/codecs/msm8916-wcd-digital.c     | 4 +---
 sound/soc/codecs/rk3328_codec.c            | 4 +---
 sound/soc/fsl/fsl_audmix.c                 | 4 +---
 sound/soc/fsl/imx-audmux.c                 | 4 +---
 sound/soc/kirkwood/kirkwood-i2s.c          | 4 +---
 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c | 5 +----
 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c | 4 +---
 sound/soc/meson/axg-fifo.c                 | 4 +---
 sound/soc/meson/axg-pdm.c                  | 4 +---
 sound/soc/meson/axg-spdifin.c              | 4 +---
 sound/soc/meson/axg-spdifout.c             | 4 +---
 sound/soc/meson/axg-tdm-formatter.c        | 4 +---
 sound/soc/meson/g12a-tohdmitx.c            | 4 +---
 sound/soc/mxs/mxs-saif.c                   | 5 +----
 sound/soc/pxa/mmp-sspa.c                   | 4 +---
 sound/soc/sirf/sirf-usp.c                  | 4 +---
 sound/soc/spear/spdif_in.c                 | 5 ++---
 sound/soc/stm/stm32_sai.c                  | 4 +---
 sound/soc/sunxi/sun50i-codec-analog.c      | 4 +---
 sound/soc/sunxi/sun8i-codec-analog.c       | 4 +---
 sound/soc/sunxi/sun8i-codec.c              | 4 +---
 sound/soc/tegra/tegra20_das.c              | 4 +---
 sound/soc/tegra/tegra30_i2s.c              | 4 +---
 sound/soc/uniphier/aio-dma.c               | 4 +---
 sound/soc/uniphier/evea.c                  | 4 +---
 sound/soc/xilinx/xlnx_i2s.c                | 4 +---
 sound/soc/xilinx/xlnx_spdif.c              | 3 +--
 sound/soc/xtensa/xtfpga-i2s.c              | 4 +---
 35 files changed, 38 insertions(+), 106 deletions(-)

-- 
2.7.4



^ permalink raw reply	[flat|nested] 69+ messages in thread

* [PATCH -next 01/34] ASoC: tegra20_das: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: tegra20_das: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 02/34] ASoC: tegra: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (32 subsequent siblings)
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/tegra/tegra20_das.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/tegra/tegra20_das.c b/sound/soc/tegra/tegra20_das.c
index 10f9c3b..1070b27 100644
--- a/sound/soc/tegra/tegra20_das.c
+++ b/sound/soc/tegra/tegra20_das.c
@@ -120,7 +120,6 @@ static const struct regmap_config tegra20_das_regmap_config = {
 
 static int tegra20_das_probe(struct platform_device *pdev)
 {
-	struct resource *res;
 	void __iomem *regs;
 	int ret = 0;
 
@@ -134,8 +133,7 @@ static int tegra20_das_probe(struct platform_device *pdev)
 	}
 	das->dev = &pdev->dev;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	regs = devm_ioremap_resource(&pdev->dev, res);
+	regs = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(regs)) {
 		ret = PTR_ERR(regs);
 		goto err;
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 02/34] ASoC: tegra: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
  2019-07-27 15:07 ` [PATCH -next 01/34] ASoC: tegra20_das: " YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: tegra: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 03/34] ASoC: rockchip: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (31 subsequent siblings)
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/tegra/tegra30_i2s.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/tegra/tegra30_i2s.c b/sound/soc/tegra/tegra30_i2s.c
index ac6983c..e6d548f 100644
--- a/sound/soc/tegra/tegra30_i2s.c
+++ b/sound/soc/tegra/tegra30_i2s.c
@@ -368,7 +368,6 @@ static int tegra30_i2s_platform_probe(struct platform_device *pdev)
 	struct tegra30_i2s *i2s;
 	const struct of_device_id *match;
 	u32 cif_ids[2];
-	struct resource *mem;
 	void __iomem *regs;
 	int ret;
 
@@ -406,8 +405,7 @@ static int tegra30_i2s_platform_probe(struct platform_device *pdev)
 		goto err;
 	}
 
-	mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	regs = devm_ioremap_resource(&pdev->dev, mem);
+	regs = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(regs)) {
 		ret = PTR_ERR(regs);
 		goto err_clk_put;
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 03/34] ASoC: rockchip: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
  2019-07-27 15:07 ` [PATCH -next 01/34] ASoC: tegra20_das: " YueHaibing
  2019-07-27 15:07 ` [PATCH -next 02/34] ASoC: tegra: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: rockchip: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 04/34] ASoC: ep93xx-i2s: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (30 subsequent siblings)
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/codecs/rk3328_codec.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/codecs/rk3328_codec.c b/sound/soc/codecs/rk3328_codec.c
index 24f8f86..287c962 100644
--- a/sound/soc/codecs/rk3328_codec.c
+++ b/sound/soc/codecs/rk3328_codec.c
@@ -432,7 +432,6 @@ static int rk3328_platform_probe(struct platform_device *pdev)
 {
 	struct device_node *rk3328_np = pdev->dev.of_node;
 	struct rk3328_codec_priv *rk3328;
-	struct resource *res;
 	struct regmap *grf;
 	void __iomem *base;
 	int ret = 0;
@@ -482,8 +481,7 @@ static int rk3328_platform_probe(struct platform_device *pdev)
 		return ret;
 	}
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	base = devm_ioremap_resource(&pdev->dev, res);
+	base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(base))
 		return PTR_ERR(base);
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 04/34] ASoC: ep93xx-i2s: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (2 preceding siblings ...)
  2019-07-27 15:07 ` [PATCH -next 03/34] ASoC: rockchip: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: ep93xx-i2s: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 05/34] ASoC: mt8173: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (29 subsequent siblings)
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/cirrus/ep93xx-i2s.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/cirrus/ep93xx-i2s.c b/sound/soc/cirrus/ep93xx-i2s.c
index 0b4355e..7d9cf67 100644
--- a/sound/soc/cirrus/ep93xx-i2s.c
+++ b/sound/soc/cirrus/ep93xx-i2s.c
@@ -430,15 +430,13 @@ static const struct snd_soc_component_driver ep93xx_i2s_component = {
 static int ep93xx_i2s_probe(struct platform_device *pdev)
 {
 	struct ep93xx_i2s_info *info;
-	struct resource *res;
 	int err;
 
 	info = devm_kzalloc(&pdev->dev, sizeof(*info), GFP_KERNEL);
 	if (!info)
 		return -ENOMEM;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	info->regs = devm_ioremap_resource(&pdev->dev, res);
+	info->regs = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(info->regs))
 		return PTR_ERR(info->regs);
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 05/34] ASoC: mt8173: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (3 preceding siblings ...)
  2019-07-27 15:07 ` [PATCH -next 04/34] ASoC: ep93xx-i2s: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: mt8173: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 06/34] ASoC: mt6797: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (28 subsequent siblings)
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/mediatek/mt8173/mt8173-afe-pcm.c b/sound/soc/mediatek/mt8173/mt8173-afe-pcm.c
index 0382896..90bd2c9 100644
--- a/sound/soc/mediatek/mt8173/mt8173-afe-pcm.c
+++ b/sound/soc/mediatek/mt8173/mt8173-afe-pcm.c
@@ -1056,7 +1056,6 @@ static int mt8173_afe_pcm_dev_probe(struct platform_device *pdev)
 	int irq_id;
 	struct mtk_base_afe *afe;
 	struct mt8173_afe_private *afe_priv;
-	struct resource *res;
 
 	ret = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(33));
 	if (ret)
@@ -1086,8 +1085,7 @@ static int mt8173_afe_pcm_dev_probe(struct platform_device *pdev)
 		return ret;
 	}
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	afe->base_addr = devm_ioremap_resource(&pdev->dev, res);
+	afe->base_addr = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(afe->base_addr))
 		return PTR_ERR(afe->base_addr);
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 06/34] ASoC: mt6797: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (4 preceding siblings ...)
  2019-07-27 15:07 ` [PATCH -next 05/34] ASoC: mt8173: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: mt6797: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 07/34] ASoC: imx-audmux: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (27 subsequent siblings)
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/sound/soc/mediatek/mt6797/mt6797-afe-pcm.c b/sound/soc/mediatek/mt6797/mt6797-afe-pcm.c
index 08a6532..dea0e07 100644
--- a/sound/soc/mediatek/mt6797/mt6797-afe-pcm.c
+++ b/sound/soc/mediatek/mt6797/mt6797-afe-pcm.c
@@ -749,7 +749,6 @@ static int mt6797_afe_pcm_dev_probe(struct platform_device *pdev)
 {
 	struct mtk_base_afe *afe;
 	struct mt6797_afe_private *afe_priv;
-	struct resource *res;
 	struct device *dev;
 	int i, irq_id, ret;
 
@@ -774,9 +773,7 @@ static int mt6797_afe_pcm_dev_probe(struct platform_device *pdev)
 	}
 
 	/* regmap init */
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-
-	afe->base_addr = devm_ioremap_resource(&pdev->dev, res);
+	afe->base_addr = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(afe->base_addr))
 		return PTR_ERR(afe->base_addr);
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 07/34] ASoC: imx-audmux: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (5 preceding siblings ...)
  2019-07-27 15:07 ` [PATCH -next 06/34] ASoC: mt6797: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: imx-audmux: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 08/34] ASoC: fsl_audmix: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (26 subsequent siblings)
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/fsl/imx-audmux.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/fsl/imx-audmux.c b/sound/soc/fsl/imx-audmux.c
index b2351cd..7595f24 100644
--- a/sound/soc/fsl/imx-audmux.c
+++ b/sound/soc/fsl/imx-audmux.c
@@ -298,12 +298,10 @@ static int imx_audmux_parse_dt_defaults(struct platform_device *pdev,
 
 static int imx_audmux_probe(struct platform_device *pdev)
 {
-	struct resource *res;
 	const struct of_device_id *of_id =
 			of_match_device(imx_audmux_dt_ids, &pdev->dev);
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	audmux_base = devm_ioremap_resource(&pdev->dev, res);
+	audmux_base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(audmux_base))
 		return PTR_ERR(audmux_base);
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 08/34] ASoC: fsl_audmix: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (6 preceding siblings ...)
  2019-07-27 15:07 ` [PATCH -next 07/34] ASoC: imx-audmux: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: fsl_audmix: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 09/34] ASoC: bcm2835-i2s: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (25 subsequent siblings)
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/fsl/fsl_audmix.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/fsl/fsl_audmix.c b/sound/soc/fsl/fsl_audmix.c
index 3897a54..c7e4e97 100644
--- a/sound/soc/fsl/fsl_audmix.c
+++ b/sound/soc/fsl/fsl_audmix.c
@@ -458,7 +458,6 @@ static int fsl_audmix_probe(struct platform_device *pdev)
 {
 	struct device *dev = &pdev->dev;
 	struct fsl_audmix *priv;
-	struct resource *res;
 	const char *mdrv;
 	const struct of_device_id *of_id;
 	void __iomem *regs;
@@ -475,8 +474,7 @@ static int fsl_audmix_probe(struct platform_device *pdev)
 		return -ENOMEM;
 
 	/* Get the addresses */
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	regs = devm_ioremap_resource(dev, res);
+	regs = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(regs))
 		return PTR_ERR(regs);
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 09/34] ASoC: bcm2835-i2s: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (7 preceding siblings ...)
  2019-07-27 15:07 ` [PATCH -next 08/34] ASoC: fsl_audmix: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: bcm2835-i2s: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 10/34] ASoC: sirf: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (24 subsequent siblings)
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/bcm/bcm2835-i2s.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/bcm/bcm2835-i2s.c b/sound/soc/bcm/bcm2835-i2s.c
index 5ef80f3..e6a12e2 100644
--- a/sound/soc/bcm/bcm2835-i2s.c
+++ b/sound/soc/bcm/bcm2835-i2s.c
@@ -828,7 +828,6 @@ static int bcm2835_i2s_probe(struct platform_device *pdev)
 {
 	struct bcm2835_i2s_dev *dev;
 	int ret;
-	struct resource *mem;
 	void __iomem *base;
 	const __be32 *addr;
 	dma_addr_t dma_base;
@@ -848,8 +847,7 @@ static int bcm2835_i2s_probe(struct platform_device *pdev)
 	}
 
 	/* Request ioarea */
-	mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	base = devm_ioremap_resource(&pdev->dev, mem);
+	base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(base))
 		return PTR_ERR(base);
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 10/34] ASoC: sirf: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (8 preceding siblings ...)
  2019-07-27 15:07 ` [PATCH -next 09/34] ASoC: bcm2835-i2s: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: sirf: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 11/34] ASoC: mxs-saif: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (23 subsequent siblings)
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/sirf/sirf-usp.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/sirf/sirf-usp.c b/sound/soc/sirf/sirf-usp.c
index 8bab119c..2af0c6f 100644
--- a/sound/soc/sirf/sirf-usp.c
+++ b/sound/soc/sirf/sirf-usp.c
@@ -359,7 +359,6 @@ static int sirf_usp_pcm_probe(struct platform_device *pdev)
 	int ret;
 	struct sirf_usp *usp;
 	void __iomem *base;
-	struct resource *mem_res;
 
 	usp = devm_kzalloc(&pdev->dev, sizeof(struct sirf_usp),
 			GFP_KERNEL);
@@ -368,8 +367,7 @@ static int sirf_usp_pcm_probe(struct platform_device *pdev)
 
 	platform_set_drvdata(pdev, usp);
 
-	mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	base = devm_ioremap_resource(&pdev->dev, mem_res);
+	base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(base))
 		return PTR_ERR(base);
 	usp->regmap = devm_regmap_init_mmio(&pdev->dev, base,
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 11/34] ASoC: mxs-saif: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (9 preceding siblings ...)
  2019-07-27 15:07 ` [PATCH -next 10/34] ASoC: sirf: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: mxs-saif: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 12/34] ASoC: spear: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (22 subsequent siblings)
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/mxs/mxs-saif.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/sound/soc/mxs/mxs-saif.c b/sound/soc/mxs/mxs-saif.c
index 269b6d6..a2c7942 100644
--- a/sound/soc/mxs/mxs-saif.c
+++ b/sound/soc/mxs/mxs-saif.c
@@ -732,7 +732,6 @@ static int mxs_saif_mclk_init(struct platform_device *pdev)
 static int mxs_saif_probe(struct platform_device *pdev)
 {
 	struct device_node *np = pdev->dev.of_node;
-	struct resource *iores;
 	struct mxs_saif *saif;
 	int irq, ret = 0;
 	struct device_node *master;
@@ -786,9 +785,7 @@ static int mxs_saif_probe(struct platform_device *pdev)
 		return ret;
 	}
 
-	iores = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-
-	saif->base = devm_ioremap_resource(&pdev->dev, iores);
+	saif->base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(saif->base))
 		return PTR_ERR(saif->base);
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 12/34] ASoC: spear: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (10 preceding siblings ...)
  2019-07-27 15:07 ` [PATCH -next 11/34] ASoC: mxs-saif: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: spear: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 13/34] ASoC: kirkwood-i2s: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (21 subsequent siblings)
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/spear/spdif_in.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/sound/soc/spear/spdif_in.c b/sound/soc/spear/spdif_in.c
index 78a6a36..4b68d6e 100644
--- a/sound/soc/spear/spdif_in.c
+++ b/sound/soc/spear/spdif_in.c
@@ -202,12 +202,11 @@ static int spdif_in_probe(struct platform_device *pdev)
 {
 	struct spdif_in_dev *host;
 	struct spear_spdif_platform_data *pdata;
-	struct resource *res, *res_fifo;
+	struct resource *res_fifo;
 	void __iomem *io_base;
 	int ret;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	io_base = devm_ioremap_resource(&pdev->dev, res);
+	io_base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(io_base))
 		return PTR_ERR(io_base);
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 13/34] ASoC: kirkwood-i2s: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (11 preceding siblings ...)
  2019-07-27 15:07 ` [PATCH -next 12/34] ASoC: spear: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: kirkwood-i2s: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 14/34] ASoC: xtfpga-i2s: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (20 subsequent siblings)
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/kirkwood/kirkwood-i2s.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/kirkwood/kirkwood-i2s.c b/sound/soc/kirkwood/kirkwood-i2s.c
index 3446a113..5076ec4 100644
--- a/sound/soc/kirkwood/kirkwood-i2s.c
+++ b/sound/soc/kirkwood/kirkwood-i2s.c
@@ -523,7 +523,6 @@ static int kirkwood_i2s_dev_probe(struct platform_device *pdev)
 	struct kirkwood_asoc_platform_data *data = pdev->dev.platform_data;
 	struct snd_soc_dai_driver *soc_dai = kirkwood_i2s_dai;
 	struct kirkwood_dma_data *priv;
-	struct resource *mem;
 	struct device_node *np = pdev->dev.of_node;
 	int err;
 
@@ -533,8 +532,7 @@ static int kirkwood_i2s_dev_probe(struct platform_device *pdev)
 
 	dev_set_drvdata(&pdev->dev, priv);
 
-	mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	priv->io = devm_ioremap_resource(&pdev->dev, mem);
+	priv->io = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(priv->io))
 		return PTR_ERR(priv->io);
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 14/34] ASoC: xtfpga-i2s: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (12 preceding siblings ...)
  2019-07-27 15:07 ` [PATCH -next 13/34] ASoC: kirkwood-i2s: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: xtfpga-i2s: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 15/34] ASoC: stm32: sai: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (19 subsequent siblings)
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/xtensa/xtfpga-i2s.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/xtensa/xtfpga-i2s.c b/sound/soc/xtensa/xtfpga-i2s.c
index 9ce2c75..9da395d 100644
--- a/sound/soc/xtensa/xtfpga-i2s.c
+++ b/sound/soc/xtensa/xtfpga-i2s.c
@@ -531,7 +531,6 @@ static int xtfpga_i2s_runtime_resume(struct device *dev)
 static int xtfpga_i2s_probe(struct platform_device *pdev)
 {
 	struct xtfpga_i2s *i2s;
-	struct resource *mem;
 	int err, irq;
 
 	i2s = devm_kzalloc(&pdev->dev, sizeof(*i2s), GFP_KERNEL);
@@ -543,8 +542,7 @@ static int xtfpga_i2s_probe(struct platform_device *pdev)
 	i2s->dev = &pdev->dev;
 	dev_dbg(&pdev->dev, "dev: %p, i2s: %p\n", &pdev->dev, i2s);
 
-	mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	i2s->regs = devm_ioremap_resource(&pdev->dev, mem);
+	i2s->regs = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(i2s->regs)) {
 		err = PTR_ERR(i2s->regs);
 		goto err;
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 15/34] ASoC: stm32: sai: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (13 preceding siblings ...)
  2019-07-27 15:07 ` [PATCH -next 14/34] ASoC: xtfpga-i2s: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: stm32: sai: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 16/34] ASoC: codecs: msm8916-wcd: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (18 subsequent siblings)
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/stm/stm32_sai.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/stm/stm32_sai.c b/sound/soc/stm/stm32_sai.c
index 63f68e6..1ac5103c 100644
--- a/sound/soc/stm/stm32_sai.c
+++ b/sound/soc/stm/stm32_sai.c
@@ -152,7 +152,6 @@ static int stm32_sai_probe(struct platform_device *pdev)
 {
 	struct stm32_sai_data *sai;
 	struct reset_control *rst;
-	struct resource *res;
 	const struct of_device_id *of_id;
 	u32 val;
 	int ret;
@@ -161,8 +160,7 @@ static int stm32_sai_probe(struct platform_device *pdev)
 	if (!sai)
 		return -ENOMEM;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	sai->base = devm_ioremap_resource(&pdev->dev, res);
+	sai->base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(sai->base))
 		return PTR_ERR(sai->base);
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 16/34] ASoC: codecs: msm8916-wcd: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (14 preceding siblings ...)
  2019-07-27 15:07 ` [PATCH -next 15/34] ASoC: stm32: sai: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: codecs: msm8916-wcd: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 17/34] ASoC: codecs: jz4725b: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (17 subsequent siblings)
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/codecs/msm8916-wcd-digital.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/codecs/msm8916-wcd-digital.c b/sound/soc/codecs/msm8916-wcd-digital.c
index 1db7e43..9fa5d44 100644
--- a/sound/soc/codecs/msm8916-wcd-digital.c
+++ b/sound/soc/codecs/msm8916-wcd-digital.c
@@ -1143,7 +1143,6 @@ static int msm8916_wcd_digital_probe(struct platform_device *pdev)
 	struct msm8916_wcd_digital_priv *priv;
 	struct device *dev = &pdev->dev;
 	void __iomem *base;
-	struct resource *mem_res;
 	struct regmap *digital_map;
 	int ret;
 
@@ -1151,8 +1150,7 @@ static int msm8916_wcd_digital_probe(struct platform_device *pdev)
 	if (!priv)
 		return -ENOMEM;
 
-	mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	base = devm_ioremap_resource(&pdev->dev, mem_res);
+	base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(base))
 		return PTR_ERR(base);
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 17/34] ASoC: codecs: jz4725b: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (15 preceding siblings ...)
  2019-07-27 15:07 ` [PATCH -next 16/34] ASoC: codecs: msm8916-wcd: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: codecs: jz4725b: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 18/34] ASoC: mmp-sspa: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (16 subsequent siblings)
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/codecs/jz4725b.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/codecs/jz4725b.c b/sound/soc/codecs/jz4725b.c
index 766354c..2567a5d 100644
--- a/sound/soc/codecs/jz4725b.c
+++ b/sound/soc/codecs/jz4725b.c
@@ -545,15 +545,13 @@ static int jz4725b_codec_probe(struct platform_device *pdev)
 {
 	struct device *dev = &pdev->dev;
 	struct jz_icdc *icdc;
-	struct resource *mem;
 	int ret;
 
 	icdc = devm_kzalloc(dev, sizeof(*icdc), GFP_KERNEL);
 	if (!icdc)
 		return -ENOMEM;
 
-	mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	icdc->base = devm_ioremap_resource(dev, mem);
+	icdc->base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(icdc->base))
 		return PTR_ERR(icdc->base);
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 18/34] ASoC: mmp-sspa: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (16 preceding siblings ...)
  2019-07-27 15:07 ` [PATCH -next 17/34] ASoC: codecs: jz4725b: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: mmp-sspa: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 19/34] ASoC: jz4740: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (15 subsequent siblings)
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/pxa/mmp-sspa.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/pxa/mmp-sspa.c b/sound/soc/pxa/mmp-sspa.c
index 72f4364..e3e5425 100644
--- a/sound/soc/pxa/mmp-sspa.c
+++ b/sound/soc/pxa/mmp-sspa.c
@@ -399,7 +399,6 @@ static const struct snd_soc_component_driver mmp_sspa_component = {
 static int asoc_mmp_sspa_probe(struct platform_device *pdev)
 {
 	struct sspa_priv *priv;
-	struct resource *res;
 
 	priv = devm_kzalloc(&pdev->dev,
 				sizeof(struct sspa_priv), GFP_KERNEL);
@@ -417,8 +416,7 @@ static int asoc_mmp_sspa_probe(struct platform_device *pdev)
 	if (priv->dma_params == NULL)
 		return -ENOMEM;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	priv->sspa->mmio_base = devm_ioremap_resource(&pdev->dev, res);
+	priv->sspa->mmio_base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(priv->sspa->mmio_base))
 		return PTR_ERR(priv->sspa->mmio_base);
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 19/34] ASoC: jz4740: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (17 preceding siblings ...)
  2019-07-27 15:07 ` [PATCH -next 18/34] ASoC: mmp-sspa: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: jz4740: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 20/34] ASoC: inno_rk3036: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (14 subsequent siblings)
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/codecs/jz4740.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/codecs/jz4740.c b/sound/soc/codecs/jz4740.c
index 974e17f..460aa1f 100644
--- a/sound/soc/codecs/jz4740.c
+++ b/sound/soc/codecs/jz4740.c
@@ -318,7 +318,6 @@ static int jz4740_codec_probe(struct platform_device *pdev)
 {
 	int ret;
 	struct jz4740_codec *jz4740_codec;
-	struct resource *mem;
 	void __iomem *base;
 
 	jz4740_codec = devm_kzalloc(&pdev->dev, sizeof(*jz4740_codec),
@@ -326,8 +325,7 @@ static int jz4740_codec_probe(struct platform_device *pdev)
 	if (!jz4740_codec)
 		return -ENOMEM;
 
-	mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	base = devm_ioremap_resource(&pdev->dev, mem);
+	base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(base))
 		return PTR_ERR(base);
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 20/34] ASoC: inno_rk3036: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (18 preceding siblings ...)
  2019-07-27 15:07 ` [PATCH -next 19/34] ASoC: jz4740: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: inno_rk3036: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 21/34] ASoC: uniphier: evea: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (13 subsequent siblings)
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/codecs/inno_rk3036.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/codecs/inno_rk3036.c b/sound/soc/codecs/inno_rk3036.c
index 7feedbb..14d8fe1 100644
--- a/sound/soc/codecs/inno_rk3036.c
+++ b/sound/soc/codecs/inno_rk3036.c
@@ -405,7 +405,6 @@ static int rk3036_codec_platform_probe(struct platform_device *pdev)
 {
 	struct rk3036_codec_priv *priv;
 	struct device_node *of_node = pdev->dev.of_node;
-	struct resource *res;
 	void __iomem *base;
 	struct regmap *grf;
 	int ret;
@@ -414,8 +413,7 @@ static int rk3036_codec_platform_probe(struct platform_device *pdev)
 	if (!priv)
 		return -ENOMEM;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	base = devm_ioremap_resource(&pdev->dev, res);
+	base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(base))
 		return PTR_ERR(base);
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 21/34] ASoC: uniphier: evea: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (19 preceding siblings ...)
  2019-07-27 15:07 ` [PATCH -next 20/34] ASoC: inno_rk3036: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: uniphier: evea: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 22/34] ASoC: uniphier: aio-dma: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (12 subsequent siblings)
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/uniphier/evea.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/uniphier/evea.c b/sound/soc/uniphier/evea.c
index f9c1016..d27e9ca 100644
--- a/sound/soc/uniphier/evea.c
+++ b/sound/soc/uniphier/evea.c
@@ -451,7 +451,6 @@ static const struct regmap_config evea_regmap_config = {
 static int evea_probe(struct platform_device *pdev)
 {
 	struct evea_priv *evea;
-	struct resource *res;
 	void __iomem *preg;
 	int ret;
 
@@ -475,8 +474,7 @@ static int evea_probe(struct platform_device *pdev)
 	if (IS_ERR(evea->rst_exiv))
 		return PTR_ERR(evea->rst_exiv);
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	preg = devm_ioremap_resource(&pdev->dev, res);
+	preg = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(preg))
 		return PTR_ERR(preg);
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 22/34] ASoC: uniphier: aio-dma: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (20 preceding siblings ...)
  2019-07-27 15:07 ` [PATCH -next 21/34] ASoC: uniphier: evea: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: uniphier: aio-dma: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 23/34] ASoC: psc-ac97: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (11 subsequent siblings)
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/uniphier/aio-dma.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/uniphier/aio-dma.c b/sound/soc/uniphier/aio-dma.c
index fa001d3..862346d 100644
--- a/sound/soc/uniphier/aio-dma.c
+++ b/sound/soc/uniphier/aio-dma.c
@@ -276,12 +276,10 @@ int uniphier_aiodma_soc_register_platform(struct platform_device *pdev)
 {
 	struct uniphier_aio_chip *chip = platform_get_drvdata(pdev);
 	struct device *dev = &pdev->dev;
-	struct resource *res;
 	void __iomem *preg;
 	int irq, ret;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	preg = devm_ioremap_resource(dev, res);
+	preg = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(preg))
 		return PTR_ERR(preg);
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 23/34] ASoC: psc-ac97: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (21 preceding siblings ...)
  2019-07-27 15:07 ` [PATCH -next 22/34] ASoC: uniphier: aio-dma: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: psc-ac97: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 24/34] ASoC: au1x: psc-i2s: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (10 subsequent siblings)
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/au1x/psc-ac97.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/sound/soc/au1x/psc-ac97.c b/sound/soc/au1x/psc-ac97.c
index 21e5f6a..08bc04e 100644
--- a/sound/soc/au1x/psc-ac97.c
+++ b/sound/soc/au1x/psc-ac97.c
@@ -363,7 +363,7 @@ static const struct snd_soc_component_driver au1xpsc_ac97_component = {
 static int au1xpsc_ac97_drvprobe(struct platform_device *pdev)
 {
 	int ret;
-	struct resource *iores, *dmares;
+	struct resource *dmares;
 	unsigned long sel;
 	struct au1xpsc_audio_data *wd;
 
@@ -374,8 +374,7 @@ static int au1xpsc_ac97_drvprobe(struct platform_device *pdev)
 
 	mutex_init(&wd->lock);
 
-	iores = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	wd->mmio = devm_ioremap_resource(&pdev->dev, iores);
+	wd->mmio = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(wd->mmio))
 		return PTR_ERR(wd->mmio);
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 24/34] ASoC: au1x: psc-i2s: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (22 preceding siblings ...)
  2019-07-27 15:07 ` [PATCH -next 23/34] ASoC: psc-ac97: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: au1x: psc-i2s: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 25/34] ASoC: meson: g12a-tohdmitx: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (9 subsequent siblings)
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/au1x/psc-i2s.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/sound/soc/au1x/psc-i2s.c b/sound/soc/au1x/psc-i2s.c
index 076303f..767ce95 100644
--- a/sound/soc/au1x/psc-i2s.c
+++ b/sound/soc/au1x/psc-i2s.c
@@ -291,7 +291,7 @@ static const struct snd_soc_component_driver au1xpsc_i2s_component = {
 
 static int au1xpsc_i2s_drvprobe(struct platform_device *pdev)
 {
-	struct resource *iores, *dmares;
+	struct resource *dmares;
 	unsigned long sel;
 	struct au1xpsc_audio_data *wd;
 
@@ -300,8 +300,7 @@ static int au1xpsc_i2s_drvprobe(struct platform_device *pdev)
 	if (!wd)
 		return -ENOMEM;
 
-	iores = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	wd->mmio = devm_ioremap_resource(&pdev->dev, iores);
+	wd->mmio = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(wd->mmio))
 		return PTR_ERR(wd->mmio);
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 25/34] ASoC: meson: g12a-tohdmitx: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (23 preceding siblings ...)
  2019-07-27 15:07 ` [PATCH -next 24/34] ASoC: au1x: psc-i2s: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: meson: g12a-tohdmitx: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 26/34] ASoC: meson: axg-tdm-formatter: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (8 subsequent siblings)
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/meson/g12a-tohdmitx.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/meson/g12a-tohdmitx.c b/sound/soc/meson/g12a-tohdmitx.c
index 707ccb1..6ae0c4f 100644
--- a/sound/soc/meson/g12a-tohdmitx.c
+++ b/sound/soc/meson/g12a-tohdmitx.c
@@ -378,12 +378,10 @@ MODULE_DEVICE_TABLE(of, g12a_tohdmitx_of_match);
 static int g12a_tohdmitx_probe(struct platform_device *pdev)
 {
 	struct device *dev = &pdev->dev;
-	struct resource *res;
 	void __iomem *regs;
 	struct regmap *map;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	regs = devm_ioremap_resource(dev, res);
+	regs = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(regs))
 		return PTR_ERR(regs);
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 26/34] ASoC: meson: axg-tdm-formatter: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (24 preceding siblings ...)
  2019-07-27 15:07 ` [PATCH -next 25/34] ASoC: meson: g12a-tohdmitx: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: meson: axg-tdm-formatter: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 27/34] ASoC: meson: axg-pdm: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (7 subsequent siblings)
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/meson/axg-tdm-formatter.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/meson/axg-tdm-formatter.c b/sound/soc/meson/axg-tdm-formatter.c
index 2e49820..21c735a 100644
--- a/sound/soc/meson/axg-tdm-formatter.c
+++ b/sound/soc/meson/axg-tdm-formatter.c
@@ -253,7 +253,6 @@ int axg_tdm_formatter_probe(struct platform_device *pdev)
 	struct device *dev = &pdev->dev;
 	const struct axg_tdm_formatter_driver *drv;
 	struct axg_tdm_formatter *formatter;
-	struct resource *res;
 	void __iomem *regs;
 	int ret;
 
@@ -269,8 +268,7 @@ int axg_tdm_formatter_probe(struct platform_device *pdev)
 	platform_set_drvdata(pdev, formatter);
 	formatter->drv = drv;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	regs = devm_ioremap_resource(dev, res);
+	regs = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(regs))
 		return PTR_ERR(regs);
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 27/34] ASoC: meson: axg-pdm: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (25 preceding siblings ...)
  2019-07-27 15:07 ` [PATCH -next 26/34] ASoC: meson: axg-tdm-formatter: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: meson: axg-pdm: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 28/34] ASoC: meson: axg-spdifin: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (6 subsequent siblings)
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/meson/axg-pdm.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/meson/axg-pdm.c b/sound/soc/meson/axg-pdm.c
index 9d56844..bfd37d4 100644
--- a/sound/soc/meson/axg-pdm.c
+++ b/sound/soc/meson/axg-pdm.c
@@ -585,7 +585,6 @@ static int axg_pdm_probe(struct platform_device *pdev)
 {
 	struct device *dev = &pdev->dev;
 	struct axg_pdm *priv;
-	struct resource *res;
 	void __iomem *regs;
 	int ret;
 
@@ -600,8 +599,7 @@ static int axg_pdm_probe(struct platform_device *pdev)
 		return -ENODEV;
 	}
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	regs = devm_ioremap_resource(dev, res);
+	regs = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(regs))
 		return PTR_ERR(regs);
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 28/34] ASoC: meson: axg-spdifin: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (26 preceding siblings ...)
  2019-07-27 15:07 ` [PATCH -next 27/34] ASoC: meson: axg-pdm: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: meson: axg-spdifin: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 29/34] ASoC: meson: axg-spdifout: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (5 subsequent siblings)
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/meson/axg-spdifin.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/meson/axg-spdifin.c b/sound/soc/meson/axg-spdifin.c
index 01b2035..d0d09f9 100644
--- a/sound/soc/meson/axg-spdifin.c
+++ b/sound/soc/meson/axg-spdifin.c
@@ -453,7 +453,6 @@ static int axg_spdifin_probe(struct platform_device *pdev)
 	struct device *dev = &pdev->dev;
 	struct axg_spdifin *priv;
 	struct snd_soc_dai_driver *dai_drv;
-	struct resource *res;
 	void __iomem *regs;
 	int ret;
 
@@ -468,8 +467,7 @@ static int axg_spdifin_probe(struct platform_device *pdev)
 		return -ENODEV;
 	}
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	regs = devm_ioremap_resource(dev, res);
+	regs = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(regs))
 		return PTR_ERR(regs);
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 29/34] ASoC: meson: axg-spdifout: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (27 preceding siblings ...)
  2019-07-27 15:07 ` [PATCH -next 28/34] ASoC: meson: axg-spdifin: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: meson: axg-spdifout: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 30/34] ASoC: meson: axg-fifo: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (4 subsequent siblings)
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/meson/axg-spdifout.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/meson/axg-spdifout.c b/sound/soc/meson/axg-spdifout.c
index 9dea528..7ce6aa97 100644
--- a/sound/soc/meson/axg-spdifout.c
+++ b/sound/soc/meson/axg-spdifout.c
@@ -401,7 +401,6 @@ static int axg_spdifout_probe(struct platform_device *pdev)
 {
 	struct device *dev = &pdev->dev;
 	struct axg_spdifout *priv;
-	struct resource *res;
 	void __iomem *regs;
 	int ret;
 
@@ -410,8 +409,7 @@ static int axg_spdifout_probe(struct platform_device *pdev)
 		return -ENOMEM;
 	platform_set_drvdata(pdev, priv);
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	regs = devm_ioremap_resource(dev, res);
+	regs = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(regs))
 		return PTR_ERR(regs);
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 30/34] ASoC: meson: axg-fifo: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (28 preceding siblings ...)
  2019-07-27 15:07 ` [PATCH -next 29/34] ASoC: meson: axg-spdifout: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: meson: axg-fifo: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 31/34] ASoC: xlnx: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (3 subsequent siblings)
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/meson/axg-fifo.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/meson/axg-fifo.c b/sound/soc/meson/axg-fifo.c
index 01c1c7d..80a3dde 100644
--- a/sound/soc/meson/axg-fifo.c
+++ b/sound/soc/meson/axg-fifo.c
@@ -314,7 +314,6 @@ int axg_fifo_probe(struct platform_device *pdev)
 	struct device *dev = &pdev->dev;
 	const struct axg_fifo_match_data *data;
 	struct axg_fifo *fifo;
-	struct resource *res;
 	void __iomem *regs;
 
 	data = of_device_get_match_data(dev);
@@ -328,8 +327,7 @@ int axg_fifo_probe(struct platform_device *pdev)
 		return -ENOMEM;
 	platform_set_drvdata(pdev, fifo);
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	regs = devm_ioremap_resource(dev, res);
+	regs = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(regs))
 		return PTR_ERR(regs);
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 31/34] ASoC: xlnx: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (29 preceding siblings ...)
  2019-07-27 15:07 ` [PATCH -next 30/34] ASoC: meson: axg-fifo: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: xlnx: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 32/34] ASoC: sun8i-codec-analog: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (2 subsequent siblings)
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/xilinx/xlnx_i2s.c   | 4 +---
 sound/soc/xilinx/xlnx_spdif.c | 3 +--
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/sound/soc/xilinx/xlnx_i2s.c b/sound/soc/xilinx/xlnx_i2s.c
index 8b35316..cc641e5 100644
--- a/sound/soc/xilinx/xlnx_i2s.c
+++ b/sound/soc/xilinx/xlnx_i2s.c
@@ -95,7 +95,6 @@ MODULE_DEVICE_TABLE(of, xlnx_i2s_of_match);
 
 static int xlnx_i2s_probe(struct platform_device *pdev)
 {
-	struct resource *res;
 	void __iomem *base;
 	struct snd_soc_dai_driver *dai_drv;
 	int ret;
@@ -107,8 +106,7 @@ static int xlnx_i2s_probe(struct platform_device *pdev)
 	if (!dai_drv)
 		return -ENOMEM;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	base = devm_ioremap_resource(&pdev->dev, res);
+	base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(base))
 		return PTR_ERR(base);
 
diff --git a/sound/soc/xilinx/xlnx_spdif.c b/sound/soc/xilinx/xlnx_spdif.c
index 3b9000f..e2ca087 100644
--- a/sound/soc/xilinx/xlnx_spdif.c
+++ b/sound/soc/xilinx/xlnx_spdif.c
@@ -260,8 +260,7 @@ static int xlnx_spdif_probe(struct platform_device *pdev)
 		return ret;
 	}
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	ctx->base = devm_ioremap_resource(dev, res);
+	ctx->base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(ctx->base)) {
 		ret = PTR_ERR(ctx->base);
 		goto clk_err;
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 32/34] ASoC: sun8i-codec-analog: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (30 preceding siblings ...)
  2019-07-27 15:07 ` [PATCH -next 31/34] ASoC: xlnx: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: sun8i-codec-analog: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 33/34] ASoC: sunxi: sun50i-codec-analog: use devm_platform_ioremap_resource() to simplify code YueHaibing
  2019-07-27 15:07 ` [PATCH -next 34/34] ASoC: sun8i-codec: use devm_platform_ioremap_resource() to simplify code YueHaibing
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/sunxi/sun8i-codec-analog.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/sunxi/sun8i-codec-analog.c b/sound/soc/sunxi/sun8i-codec-analog.c
index e92aeed..be872ee 100644
--- a/sound/soc/sunxi/sun8i-codec-analog.c
+++ b/sound/soc/sunxi/sun8i-codec-analog.c
@@ -819,12 +819,10 @@ MODULE_DEVICE_TABLE(of, sun8i_codec_analog_of_match);
 
 static int sun8i_codec_analog_probe(struct platform_device *pdev)
 {
-	struct resource *res;
 	struct regmap *regmap;
 	void __iomem *base;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	base = devm_ioremap_resource(&pdev->dev, res);
+	base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(base)) {
 		dev_err(&pdev->dev, "Failed to map the registers\n");
 		return PTR_ERR(base);
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 33/34] ASoC: sunxi: sun50i-codec-analog: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (31 preceding siblings ...)
  2019-07-27 15:07 ` [PATCH -next 32/34] ASoC: sun8i-codec-analog: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: sunxi: sun50i-codec-analog: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  2019-07-27 15:07 ` [PATCH -next 34/34] ASoC: sun8i-codec: use devm_platform_ioremap_resource() to simplify code YueHaibing
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/sunxi/sun50i-codec-analog.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/sunxi/sun50i-codec-analog.c b/sound/soc/sunxi/sun50i-codec-analog.c
index 6d1de56..f5b7069 100644
--- a/sound/soc/sunxi/sun50i-codec-analog.c
+++ b/sound/soc/sunxi/sun50i-codec-analog.c
@@ -459,12 +459,10 @@ MODULE_DEVICE_TABLE(of, sun50i_codec_analog_of_match);
 
 static int sun50i_codec_analog_probe(struct platform_device *pdev)
 {
-	struct resource *res;
 	struct regmap *regmap;
 	void __iomem *base;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	base = devm_ioremap_resource(&pdev->dev, res);
+	base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(base)) {
 		dev_err(&pdev->dev, "Failed to map the registers\n");
 		return PTR_ERR(base);
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* [PATCH -next 34/34] ASoC: sun8i-codec: use devm_platform_ioremap_resource() to simplify code
  2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
                   ` (32 preceding siblings ...)
  2019-07-27 15:07 ` [PATCH -next 33/34] ASoC: sunxi: sun50i-codec-analog: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-27 15:07 ` YueHaibing
  2019-07-31 11:29   ` Applied "ASoC: sun8i-codec: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
  33 siblings, 1 reply; 69+ messages in thread
From: YueHaibing @ 2019-07-27 15:07 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, eric, wahrenst, f.fainelli,
	rjui, sbranden, bcm-kernel-feedback-list, paul, timur,
	nicoleotsuka, Xiubo.Lee, festevam, shawnguo, s.hauer, kernel,
	linux-imx, matthias.bgg, jbrunet, khilman, daniel,
	haojian.zhuang, robert.jarzmik, baohua, olivier.moysan,
	arnaud.pouliquen, mcoquelin.stm32, alexandre.torgue, mripard,
	wens, thierry.reding, jonathanh, yamada.masahiro, michal.simek,
	jcmvbkbc
  Cc: linux-kernel, alsa-devel, linux-rpi-kernel, linux-arm-kernel,
	linuxppc-dev, linux-mediatek, linux-amlogic, linux-stm32,
	linux-tegra, linux-xtensa, gregkh, YueHaibing

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 sound/soc/sunxi/sun8i-codec.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/sunxi/sun8i-codec.c b/sound/soc/sunxi/sun8i-codec.c
index 0e0e8eb..55798bc 100644
--- a/sound/soc/sunxi/sun8i-codec.c
+++ b/sound/soc/sunxi/sun8i-codec.c
@@ -533,7 +533,6 @@ static const struct regmap_config sun8i_codec_regmap_config = {
 
 static int sun8i_codec_probe(struct platform_device *pdev)
 {
-	struct resource *res_base;
 	struct sun8i_codec *scodec;
 	void __iomem *base;
 	int ret;
@@ -556,8 +555,7 @@ static int sun8i_codec_probe(struct platform_device *pdev)
 		return PTR_ERR(scodec->clk_bus);
 	}
 
-	res_base = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	base = devm_ioremap_resource(&pdev->dev, res_base);
+	base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(base)) {
 		dev_err(&pdev->dev, "Failed to map the registers\n");
 		return PTR_ERR(base);
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: meson: g12a-tohdmitx: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 25/34] ASoC: meson: g12a-tohdmitx: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: meson: g12a-tohdmitx: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From a95c901248642d62dc7462a2d2190c8ac183c84f Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:29 +0800
Subject: [PATCH] ASoC: meson: g12a-tohdmitx: use
 devm_platform_ioremap_resource() to simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-26-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/meson/g12a-tohdmitx.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/meson/g12a-tohdmitx.c b/sound/soc/meson/g12a-tohdmitx.c
index 9943c807ec5d..9cfbd343a00c 100644
--- a/sound/soc/meson/g12a-tohdmitx.c
+++ b/sound/soc/meson/g12a-tohdmitx.c
@@ -376,12 +376,10 @@ MODULE_DEVICE_TABLE(of, g12a_tohdmitx_of_match);
 static int g12a_tohdmitx_probe(struct platform_device *pdev)
 {
 	struct device *dev = &pdev->dev;
-	struct resource *res;
 	void __iomem *regs;
 	struct regmap *map;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	regs = devm_ioremap_resource(dev, res);
+	regs = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(regs))
 		return PTR_ERR(regs);
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: meson: axg-tdm-formatter: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 26/34] ASoC: meson: axg-tdm-formatter: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: meson: axg-tdm-formatter: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From 10392fcad7dfc8ea38959b18327ff18b81b1c161 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:30 +0800
Subject: [PATCH] ASoC: meson: axg-tdm-formatter: use
 devm_platform_ioremap_resource() to simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-27-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/meson/axg-tdm-formatter.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/meson/axg-tdm-formatter.c b/sound/soc/meson/axg-tdm-formatter.c
index 2e498201139f..21c735afab35 100644
--- a/sound/soc/meson/axg-tdm-formatter.c
+++ b/sound/soc/meson/axg-tdm-formatter.c
@@ -253,7 +253,6 @@ int axg_tdm_formatter_probe(struct platform_device *pdev)
 	struct device *dev = &pdev->dev;
 	const struct axg_tdm_formatter_driver *drv;
 	struct axg_tdm_formatter *formatter;
-	struct resource *res;
 	void __iomem *regs;
 	int ret;
 
@@ -269,8 +268,7 @@ int axg_tdm_formatter_probe(struct platform_device *pdev)
 	platform_set_drvdata(pdev, formatter);
 	formatter->drv = drv;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	regs = devm_ioremap_resource(dev, res);
+	regs = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(regs))
 		return PTR_ERR(regs);
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: au1x: psc-i2s: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 24/34] ASoC: au1x: psc-i2s: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: au1x: psc-i2s: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From 12a63c0fa03691328b948690601dc7dde8fc527b Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:28 +0800
Subject: [PATCH] ASoC: au1x: psc-i2s: use devm_platform_ioremap_resource() to
 simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-25-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/au1x/psc-i2s.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/sound/soc/au1x/psc-i2s.c b/sound/soc/au1x/psc-i2s.c
index 076303f96b8c..767ce950d0da 100644
--- a/sound/soc/au1x/psc-i2s.c
+++ b/sound/soc/au1x/psc-i2s.c
@@ -291,7 +291,7 @@ static const struct snd_soc_component_driver au1xpsc_i2s_component = {
 
 static int au1xpsc_i2s_drvprobe(struct platform_device *pdev)
 {
-	struct resource *iores, *dmares;
+	struct resource *dmares;
 	unsigned long sel;
 	struct au1xpsc_audio_data *wd;
 
@@ -300,8 +300,7 @@ static int au1xpsc_i2s_drvprobe(struct platform_device *pdev)
 	if (!wd)
 		return -ENOMEM;
 
-	iores = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	wd->mmio = devm_ioremap_resource(&pdev->dev, iores);
+	wd->mmio = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(wd->mmio))
 		return PTR_ERR(wd->mmio);
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: psc-ac97: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 23/34] ASoC: psc-ac97: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: psc-ac97: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From b1abe8780041d568ae07013a3592519fca855a1c Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:27 +0800
Subject: [PATCH] ASoC: psc-ac97: use devm_platform_ioremap_resource() to
 simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-24-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/au1x/psc-ac97.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/sound/soc/au1x/psc-ac97.c b/sound/soc/au1x/psc-ac97.c
index 21e5f6aed7f3..08bc04e2da2a 100644
--- a/sound/soc/au1x/psc-ac97.c
+++ b/sound/soc/au1x/psc-ac97.c
@@ -363,7 +363,7 @@ static const struct snd_soc_component_driver au1xpsc_ac97_component = {
 static int au1xpsc_ac97_drvprobe(struct platform_device *pdev)
 {
 	int ret;
-	struct resource *iores, *dmares;
+	struct resource *dmares;
 	unsigned long sel;
 	struct au1xpsc_audio_data *wd;
 
@@ -374,8 +374,7 @@ static int au1xpsc_ac97_drvprobe(struct platform_device *pdev)
 
 	mutex_init(&wd->lock);
 
-	iores = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	wd->mmio = devm_ioremap_resource(&pdev->dev, iores);
+	wd->mmio = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(wd->mmio))
 		return PTR_ERR(wd->mmio);
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: uniphier: aio-dma: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 22/34] ASoC: uniphier: aio-dma: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: uniphier: aio-dma: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From b885c9fa363fa4604d78ea00adfed64db656fb78 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:26 +0800
Subject: [PATCH] ASoC: uniphier: aio-dma: use devm_platform_ioremap_resource()
 to simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-23-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/uniphier/aio-dma.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/uniphier/aio-dma.c b/sound/soc/uniphier/aio-dma.c
index fa001d3c1a88..862346d66774 100644
--- a/sound/soc/uniphier/aio-dma.c
+++ b/sound/soc/uniphier/aio-dma.c
@@ -276,12 +276,10 @@ int uniphier_aiodma_soc_register_platform(struct platform_device *pdev)
 {
 	struct uniphier_aio_chip *chip = platform_get_drvdata(pdev);
 	struct device *dev = &pdev->dev;
-	struct resource *res;
 	void __iomem *preg;
 	int irq, ret;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	preg = devm_ioremap_resource(dev, res);
+	preg = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(preg))
 		return PTR_ERR(preg);
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: uniphier: evea: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 21/34] ASoC: uniphier: evea: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: uniphier: evea: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From 4e5bc35988af2483138feb3c5c3bf5fb0cae4228 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:25 +0800
Subject: [PATCH] ASoC: uniphier: evea: use devm_platform_ioremap_resource() to
 simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-22-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/uniphier/evea.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/uniphier/evea.c b/sound/soc/uniphier/evea.c
index f9c10165fbc1..d27e9ca07856 100644
--- a/sound/soc/uniphier/evea.c
+++ b/sound/soc/uniphier/evea.c
@@ -451,7 +451,6 @@ static const struct regmap_config evea_regmap_config = {
 static int evea_probe(struct platform_device *pdev)
 {
 	struct evea_priv *evea;
-	struct resource *res;
 	void __iomem *preg;
 	int ret;
 
@@ -475,8 +474,7 @@ static int evea_probe(struct platform_device *pdev)
 	if (IS_ERR(evea->rst_exiv))
 		return PTR_ERR(evea->rst_exiv);
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	preg = devm_ioremap_resource(&pdev->dev, res);
+	preg = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(preg))
 		return PTR_ERR(preg);
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: inno_rk3036: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 20/34] ASoC: inno_rk3036: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: inno_rk3036: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From 2d1ffc7d0f58f6a39a34854e952f5020fc655af0 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:24 +0800
Subject: [PATCH] ASoC: inno_rk3036: use devm_platform_ioremap_resource() to
 simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-21-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/codecs/inno_rk3036.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/codecs/inno_rk3036.c b/sound/soc/codecs/inno_rk3036.c
index 7feedbb7bbed..14d8fe1c28a4 100644
--- a/sound/soc/codecs/inno_rk3036.c
+++ b/sound/soc/codecs/inno_rk3036.c
@@ -405,7 +405,6 @@ static int rk3036_codec_platform_probe(struct platform_device *pdev)
 {
 	struct rk3036_codec_priv *priv;
 	struct device_node *of_node = pdev->dev.of_node;
-	struct resource *res;
 	void __iomem *base;
 	struct regmap *grf;
 	int ret;
@@ -414,8 +413,7 @@ static int rk3036_codec_platform_probe(struct platform_device *pdev)
 	if (!priv)
 		return -ENOMEM;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	base = devm_ioremap_resource(&pdev->dev, res);
+	base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(base))
 		return PTR_ERR(base);
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: mmp-sspa: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 18/34] ASoC: mmp-sspa: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: mmp-sspa: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From 72d09322e709c5c2d7112d6a19ec9f3846d3609d Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:22 +0800
Subject: [PATCH] ASoC: mmp-sspa: use devm_platform_ioremap_resource() to
 simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-19-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/pxa/mmp-sspa.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/pxa/mmp-sspa.c b/sound/soc/pxa/mmp-sspa.c
index 72f4364b2d20..e3e5425b5c62 100644
--- a/sound/soc/pxa/mmp-sspa.c
+++ b/sound/soc/pxa/mmp-sspa.c
@@ -399,7 +399,6 @@ static const struct snd_soc_component_driver mmp_sspa_component = {
 static int asoc_mmp_sspa_probe(struct platform_device *pdev)
 {
 	struct sspa_priv *priv;
-	struct resource *res;
 
 	priv = devm_kzalloc(&pdev->dev,
 				sizeof(struct sspa_priv), GFP_KERNEL);
@@ -417,8 +416,7 @@ static int asoc_mmp_sspa_probe(struct platform_device *pdev)
 	if (priv->dma_params == NULL)
 		return -ENOMEM;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	priv->sspa->mmio_base = devm_ioremap_resource(&pdev->dev, res);
+	priv->sspa->mmio_base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(priv->sspa->mmio_base))
 		return PTR_ERR(priv->sspa->mmio_base);
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: codecs: jz4725b: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 17/34] ASoC: codecs: jz4725b: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: codecs: jz4725b: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From 94db63761576a98279e19f51173dec85f803bad4 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:21 +0800
Subject: [PATCH] ASoC: codecs: jz4725b: use devm_platform_ioremap_resource()
 to simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-18-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/codecs/jz4725b.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/codecs/jz4725b.c b/sound/soc/codecs/jz4725b.c
index 766354c73076..2567a5d15b55 100644
--- a/sound/soc/codecs/jz4725b.c
+++ b/sound/soc/codecs/jz4725b.c
@@ -545,15 +545,13 @@ static int jz4725b_codec_probe(struct platform_device *pdev)
 {
 	struct device *dev = &pdev->dev;
 	struct jz_icdc *icdc;
-	struct resource *mem;
 	int ret;
 
 	icdc = devm_kzalloc(dev, sizeof(*icdc), GFP_KERNEL);
 	if (!icdc)
 		return -ENOMEM;
 
-	mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	icdc->base = devm_ioremap_resource(dev, mem);
+	icdc->base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(icdc->base))
 		return PTR_ERR(icdc->base);
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: jz4740: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 19/34] ASoC: jz4740: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: jz4740: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From a8dc106410a2c3c87917447fb8c132b66062443e Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:23 +0800
Subject: [PATCH] ASoC: jz4740: use devm_platform_ioremap_resource() to
 simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-20-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/codecs/jz4740.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/codecs/jz4740.c b/sound/soc/codecs/jz4740.c
index 974e17fa1911..460aa1fd1efe 100644
--- a/sound/soc/codecs/jz4740.c
+++ b/sound/soc/codecs/jz4740.c
@@ -318,7 +318,6 @@ static int jz4740_codec_probe(struct platform_device *pdev)
 {
 	int ret;
 	struct jz4740_codec *jz4740_codec;
-	struct resource *mem;
 	void __iomem *base;
 
 	jz4740_codec = devm_kzalloc(&pdev->dev, sizeof(*jz4740_codec),
@@ -326,8 +325,7 @@ static int jz4740_codec_probe(struct platform_device *pdev)
 	if (!jz4740_codec)
 		return -ENOMEM;
 
-	mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	base = devm_ioremap_resource(&pdev->dev, mem);
+	base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(base))
 		return PTR_ERR(base);
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: stm32: sai: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 15/34] ASoC: stm32: sai: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: stm32: sai: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From 1c63223cda84fb10643938e4e4eb02110f8ae9a2 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:19 +0800
Subject: [PATCH] ASoC: stm32: sai: use devm_platform_ioremap_resource() to
 simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-16-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/stm/stm32_sai.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/stm/stm32_sai.c b/sound/soc/stm/stm32_sai.c
index 63f68e663676..1ac5103cea78 100644
--- a/sound/soc/stm/stm32_sai.c
+++ b/sound/soc/stm/stm32_sai.c
@@ -152,7 +152,6 @@ static int stm32_sai_probe(struct platform_device *pdev)
 {
 	struct stm32_sai_data *sai;
 	struct reset_control *rst;
-	struct resource *res;
 	const struct of_device_id *of_id;
 	u32 val;
 	int ret;
@@ -161,8 +160,7 @@ static int stm32_sai_probe(struct platform_device *pdev)
 	if (!sai)
 		return -ENOMEM;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	sai->base = devm_ioremap_resource(&pdev->dev, res);
+	sai->base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(sai->base))
 		return PTR_ERR(sai->base);
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: codecs: msm8916-wcd: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 16/34] ASoC: codecs: msm8916-wcd: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: codecs: msm8916-wcd: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From f62d6426718837663484bbf0ed94e56573cbc365 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:20 +0800
Subject: [PATCH] ASoC: codecs: msm8916-wcd: use
 devm_platform_ioremap_resource() to simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-17-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/codecs/msm8916-wcd-digital.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/codecs/msm8916-wcd-digital.c b/sound/soc/codecs/msm8916-wcd-digital.c
index 1db7e43ec203..9fa5d44fdc79 100644
--- a/sound/soc/codecs/msm8916-wcd-digital.c
+++ b/sound/soc/codecs/msm8916-wcd-digital.c
@@ -1143,7 +1143,6 @@ static int msm8916_wcd_digital_probe(struct platform_device *pdev)
 	struct msm8916_wcd_digital_priv *priv;
 	struct device *dev = &pdev->dev;
 	void __iomem *base;
-	struct resource *mem_res;
 	struct regmap *digital_map;
 	int ret;
 
@@ -1151,8 +1150,7 @@ static int msm8916_wcd_digital_probe(struct platform_device *pdev)
 	if (!priv)
 		return -ENOMEM;
 
-	mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	base = devm_ioremap_resource(&pdev->dev, mem_res);
+	base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(base))
 		return PTR_ERR(base);
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: sun8i-codec: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 34/34] ASoC: sun8i-codec: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: sun8i-codec: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From 790b36578e23264ff05be2ba8466ebcf7d3db38a Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:38 +0800
Subject: [PATCH] ASoC: sun8i-codec: use devm_platform_ioremap_resource() to
 simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-35-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/sunxi/sun8i-codec.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/sunxi/sun8i-codec.c b/sound/soc/sunxi/sun8i-codec.c
index 0e0e8ebaa571..55798bc8eae2 100644
--- a/sound/soc/sunxi/sun8i-codec.c
+++ b/sound/soc/sunxi/sun8i-codec.c
@@ -533,7 +533,6 @@ static const struct regmap_config sun8i_codec_regmap_config = {
 
 static int sun8i_codec_probe(struct platform_device *pdev)
 {
-	struct resource *res_base;
 	struct sun8i_codec *scodec;
 	void __iomem *base;
 	int ret;
@@ -556,8 +555,7 @@ static int sun8i_codec_probe(struct platform_device *pdev)
 		return PTR_ERR(scodec->clk_bus);
 	}
 
-	res_base = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	base = devm_ioremap_resource(&pdev->dev, res_base);
+	base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(base)) {
 		dev_err(&pdev->dev, "Failed to map the registers\n");
 		return PTR_ERR(base);
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: sunxi: sun50i-codec-analog: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 33/34] ASoC: sunxi: sun50i-codec-analog: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: sunxi: sun50i-codec-analog: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From 54dd39e4aca8edb231e13349ac3a3a44ef28d3d4 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:37 +0800
Subject: [PATCH] ASoC: sunxi: sun50i-codec-analog: use
 devm_platform_ioremap_resource() to simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-34-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/sunxi/sun50i-codec-analog.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/sunxi/sun50i-codec-analog.c b/sound/soc/sunxi/sun50i-codec-analog.c
index 6d1de565350e..f5b7069bcca2 100644
--- a/sound/soc/sunxi/sun50i-codec-analog.c
+++ b/sound/soc/sunxi/sun50i-codec-analog.c
@@ -459,12 +459,10 @@ MODULE_DEVICE_TABLE(of, sun50i_codec_analog_of_match);
 
 static int sun50i_codec_analog_probe(struct platform_device *pdev)
 {
-	struct resource *res;
 	struct regmap *regmap;
 	void __iomem *base;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	base = devm_ioremap_resource(&pdev->dev, res);
+	base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(base)) {
 		dev_err(&pdev->dev, "Failed to map the registers\n");
 		return PTR_ERR(base);
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: xlnx: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 31/34] ASoC: xlnx: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: xlnx: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From cf80aa2c1359f5d014981e251049bcc21a2217bc Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:35 +0800
Subject: [PATCH] ASoC: xlnx: use devm_platform_ioremap_resource() to simplify
 code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-32-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/xilinx/xlnx_i2s.c   | 4 +---
 sound/soc/xilinx/xlnx_spdif.c | 3 +--
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/sound/soc/xilinx/xlnx_i2s.c b/sound/soc/xilinx/xlnx_i2s.c
index 8b353166ad44..cc641e582c82 100644
--- a/sound/soc/xilinx/xlnx_i2s.c
+++ b/sound/soc/xilinx/xlnx_i2s.c
@@ -95,7 +95,6 @@ MODULE_DEVICE_TABLE(of, xlnx_i2s_of_match);
 
 static int xlnx_i2s_probe(struct platform_device *pdev)
 {
-	struct resource *res;
 	void __iomem *base;
 	struct snd_soc_dai_driver *dai_drv;
 	int ret;
@@ -107,8 +106,7 @@ static int xlnx_i2s_probe(struct platform_device *pdev)
 	if (!dai_drv)
 		return -ENOMEM;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	base = devm_ioremap_resource(&pdev->dev, res);
+	base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(base))
 		return PTR_ERR(base);
 
diff --git a/sound/soc/xilinx/xlnx_spdif.c b/sound/soc/xilinx/xlnx_spdif.c
index 3b9000fd8c49..e2ca087adee6 100644
--- a/sound/soc/xilinx/xlnx_spdif.c
+++ b/sound/soc/xilinx/xlnx_spdif.c
@@ -260,8 +260,7 @@ static int xlnx_spdif_probe(struct platform_device *pdev)
 		return ret;
 	}
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	ctx->base = devm_ioremap_resource(dev, res);
+	ctx->base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(ctx->base)) {
 		ret = PTR_ERR(ctx->base);
 		goto clk_err;
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: sun8i-codec-analog: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 32/34] ASoC: sun8i-codec-analog: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: sun8i-codec-analog: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From e12fd61fd7c1bbbb758ede9fdf58ac2bd5de6b33 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:36 +0800
Subject: [PATCH] ASoC: sun8i-codec-analog: use
 devm_platform_ioremap_resource() to simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-33-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/sunxi/sun8i-codec-analog.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/sunxi/sun8i-codec-analog.c b/sound/soc/sunxi/sun8i-codec-analog.c
index e92aeedd6feb..be872eefa61e 100644
--- a/sound/soc/sunxi/sun8i-codec-analog.c
+++ b/sound/soc/sunxi/sun8i-codec-analog.c
@@ -819,12 +819,10 @@ MODULE_DEVICE_TABLE(of, sun8i_codec_analog_of_match);
 
 static int sun8i_codec_analog_probe(struct platform_device *pdev)
 {
-	struct resource *res;
 	struct regmap *regmap;
 	void __iomem *base;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	base = devm_ioremap_resource(&pdev->dev, res);
+	base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(base)) {
 		dev_err(&pdev->dev, "Failed to map the registers\n");
 		return PTR_ERR(base);
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: meson: axg-fifo: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 30/34] ASoC: meson: axg-fifo: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: meson: axg-fifo: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From 9b2089313156ad16bd257217cc67e10597a82923 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:34 +0800
Subject: [PATCH] ASoC: meson: axg-fifo: use devm_platform_ioremap_resource()
 to simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-31-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/meson/axg-fifo.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/meson/axg-fifo.c b/sound/soc/meson/axg-fifo.c
index 01c1c7db2510..80a3dde35b5c 100644
--- a/sound/soc/meson/axg-fifo.c
+++ b/sound/soc/meson/axg-fifo.c
@@ -314,7 +314,6 @@ int axg_fifo_probe(struct platform_device *pdev)
 	struct device *dev = &pdev->dev;
 	const struct axg_fifo_match_data *data;
 	struct axg_fifo *fifo;
-	struct resource *res;
 	void __iomem *regs;
 
 	data = of_device_get_match_data(dev);
@@ -328,8 +327,7 @@ int axg_fifo_probe(struct platform_device *pdev)
 		return -ENOMEM;
 	platform_set_drvdata(pdev, fifo);
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	regs = devm_ioremap_resource(dev, res);
+	regs = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(regs))
 		return PTR_ERR(regs);
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: meson: axg-spdifout: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 29/34] ASoC: meson: axg-spdifout: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: meson: axg-spdifout: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From c43fd289dd58951f3cfddb3bb66a6ed7747c5986 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:33 +0800
Subject: [PATCH] ASoC: meson: axg-spdifout: use
 devm_platform_ioremap_resource() to simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-30-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/meson/axg-spdifout.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/meson/axg-spdifout.c b/sound/soc/meson/axg-spdifout.c
index 9dea528053ad..7ce6aa97ddf7 100644
--- a/sound/soc/meson/axg-spdifout.c
+++ b/sound/soc/meson/axg-spdifout.c
@@ -401,7 +401,6 @@ static int axg_spdifout_probe(struct platform_device *pdev)
 {
 	struct device *dev = &pdev->dev;
 	struct axg_spdifout *priv;
-	struct resource *res;
 	void __iomem *regs;
 	int ret;
 
@@ -410,8 +409,7 @@ static int axg_spdifout_probe(struct platform_device *pdev)
 		return -ENOMEM;
 	platform_set_drvdata(pdev, priv);
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	regs = devm_ioremap_resource(dev, res);
+	regs = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(regs))
 		return PTR_ERR(regs);
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: meson: axg-spdifin: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 28/34] ASoC: meson: axg-spdifin: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: meson: axg-spdifin: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From d61feec0f60c250c786a9e0069ce909979491c7b Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:32 +0800
Subject: [PATCH] ASoC: meson: axg-spdifin: use
 devm_platform_ioremap_resource() to simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-29-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/meson/axg-spdifin.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/meson/axg-spdifin.c b/sound/soc/meson/axg-spdifin.c
index 01b2035fa841..d0d09f945b48 100644
--- a/sound/soc/meson/axg-spdifin.c
+++ b/sound/soc/meson/axg-spdifin.c
@@ -453,7 +453,6 @@ static int axg_spdifin_probe(struct platform_device *pdev)
 	struct device *dev = &pdev->dev;
 	struct axg_spdifin *priv;
 	struct snd_soc_dai_driver *dai_drv;
-	struct resource *res;
 	void __iomem *regs;
 	int ret;
 
@@ -468,8 +467,7 @@ static int axg_spdifin_probe(struct platform_device *pdev)
 		return -ENODEV;
 	}
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	regs = devm_ioremap_resource(dev, res);
+	regs = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(regs))
 		return PTR_ERR(regs);
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: meson: axg-pdm: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 27/34] ASoC: meson: axg-pdm: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: meson: axg-pdm: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From 2e73d98f2ecf61008926bb8a425c3281a89959c0 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:31 +0800
Subject: [PATCH] ASoC: meson: axg-pdm: use devm_platform_ioremap_resource() to
 simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-28-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/meson/axg-pdm.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/meson/axg-pdm.c b/sound/soc/meson/axg-pdm.c
index 9d5684493ffc..bfd37d49a73e 100644
--- a/sound/soc/meson/axg-pdm.c
+++ b/sound/soc/meson/axg-pdm.c
@@ -585,7 +585,6 @@ static int axg_pdm_probe(struct platform_device *pdev)
 {
 	struct device *dev = &pdev->dev;
 	struct axg_pdm *priv;
-	struct resource *res;
 	void __iomem *regs;
 	int ret;
 
@@ -600,8 +599,7 @@ static int axg_pdm_probe(struct platform_device *pdev)
 		return -ENODEV;
 	}
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	regs = devm_ioremap_resource(dev, res);
+	regs = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(regs))
 		return PTR_ERR(regs);
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: xtfpga-i2s: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 14/34] ASoC: xtfpga-i2s: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: xtfpga-i2s: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From ebdd7be5415c7795c77609ad908222038e441835 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:18 +0800
Subject: [PATCH] ASoC: xtfpga-i2s: use devm_platform_ioremap_resource() to
 simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-15-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/xtensa/xtfpga-i2s.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/xtensa/xtfpga-i2s.c b/sound/soc/xtensa/xtfpga-i2s.c
index 9ce2c75186b9..9da395d14a8d 100644
--- a/sound/soc/xtensa/xtfpga-i2s.c
+++ b/sound/soc/xtensa/xtfpga-i2s.c
@@ -531,7 +531,6 @@ static int xtfpga_i2s_runtime_resume(struct device *dev)
 static int xtfpga_i2s_probe(struct platform_device *pdev)
 {
 	struct xtfpga_i2s *i2s;
-	struct resource *mem;
 	int err, irq;
 
 	i2s = devm_kzalloc(&pdev->dev, sizeof(*i2s), GFP_KERNEL);
@@ -543,8 +542,7 @@ static int xtfpga_i2s_probe(struct platform_device *pdev)
 	i2s->dev = &pdev->dev;
 	dev_dbg(&pdev->dev, "dev: %p, i2s: %p\n", &pdev->dev, i2s);
 
-	mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	i2s->regs = devm_ioremap_resource(&pdev->dev, mem);
+	i2s->regs = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(i2s->regs)) {
 		err = PTR_ERR(i2s->regs);
 		goto err;
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: kirkwood-i2s: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 13/34] ASoC: kirkwood-i2s: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: kirkwood-i2s: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From 89dd38bf130e661d92c6ab7e3b003907f1d3f367 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:17 +0800
Subject: [PATCH] ASoC: kirkwood-i2s: use devm_platform_ioremap_resource() to
 simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-14-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/kirkwood/kirkwood-i2s.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/kirkwood/kirkwood-i2s.c b/sound/soc/kirkwood/kirkwood-i2s.c
index 3446a113f482..5076ec4cc7a6 100644
--- a/sound/soc/kirkwood/kirkwood-i2s.c
+++ b/sound/soc/kirkwood/kirkwood-i2s.c
@@ -523,7 +523,6 @@ static int kirkwood_i2s_dev_probe(struct platform_device *pdev)
 	struct kirkwood_asoc_platform_data *data = pdev->dev.platform_data;
 	struct snd_soc_dai_driver *soc_dai = kirkwood_i2s_dai;
 	struct kirkwood_dma_data *priv;
-	struct resource *mem;
 	struct device_node *np = pdev->dev.of_node;
 	int err;
 
@@ -533,8 +532,7 @@ static int kirkwood_i2s_dev_probe(struct platform_device *pdev)
 
 	dev_set_drvdata(&pdev->dev, priv);
 
-	mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	priv->io = devm_ioremap_resource(&pdev->dev, mem);
+	priv->io = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(priv->io))
 		return PTR_ERR(priv->io);
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: spear: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 12/34] ASoC: spear: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: spear: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From 0fb46f541bb3e6e5bbb155c08b9e75f92c21acb9 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:16 +0800
Subject: [PATCH] ASoC: spear: use devm_platform_ioremap_resource() to simplify
 code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-13-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/spear/spdif_in.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/sound/soc/spear/spdif_in.c b/sound/soc/spear/spdif_in.c
index 78a6a360b4a6..4b68d6ee75da 100644
--- a/sound/soc/spear/spdif_in.c
+++ b/sound/soc/spear/spdif_in.c
@@ -202,12 +202,11 @@ static int spdif_in_probe(struct platform_device *pdev)
 {
 	struct spdif_in_dev *host;
 	struct spear_spdif_platform_data *pdata;
-	struct resource *res, *res_fifo;
+	struct resource *res_fifo;
 	void __iomem *io_base;
 	int ret;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	io_base = devm_ioremap_resource(&pdev->dev, res);
+	io_base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(io_base))
 		return PTR_ERR(io_base);
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: sirf: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 10/34] ASoC: sirf: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: sirf: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From c9dbe688983b1d77a9a46cf6b7ac88348a1ca395 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:14 +0800
Subject: [PATCH] ASoC: sirf: use devm_platform_ioremap_resource() to simplify
 code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-11-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/sirf/sirf-usp.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/sirf/sirf-usp.c b/sound/soc/sirf/sirf-usp.c
index 8bab119c753a..2af0c6f14ee6 100644
--- a/sound/soc/sirf/sirf-usp.c
+++ b/sound/soc/sirf/sirf-usp.c
@@ -359,7 +359,6 @@ static int sirf_usp_pcm_probe(struct platform_device *pdev)
 	int ret;
 	struct sirf_usp *usp;
 	void __iomem *base;
-	struct resource *mem_res;
 
 	usp = devm_kzalloc(&pdev->dev, sizeof(struct sirf_usp),
 			GFP_KERNEL);
@@ -368,8 +367,7 @@ static int sirf_usp_pcm_probe(struct platform_device *pdev)
 
 	platform_set_drvdata(pdev, usp);
 
-	mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	base = devm_ioremap_resource(&pdev->dev, mem_res);
+	base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(base))
 		return PTR_ERR(base);
 	usp->regmap = devm_regmap_init_mmio(&pdev->dev, base,
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: mxs-saif: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 11/34] ASoC: mxs-saif: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: mxs-saif: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From 1327bfe2887c0e29bcdc0c5c3e445da107ccb4e2 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:15 +0800
Subject: [PATCH] ASoC: mxs-saif: use devm_platform_ioremap_resource() to
 simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-12-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/mxs/mxs-saif.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/sound/soc/mxs/mxs-saif.c b/sound/soc/mxs/mxs-saif.c
index 269b6d6df250..a2c79426513b 100644
--- a/sound/soc/mxs/mxs-saif.c
+++ b/sound/soc/mxs/mxs-saif.c
@@ -732,7 +732,6 @@ static int mxs_saif_mclk_init(struct platform_device *pdev)
 static int mxs_saif_probe(struct platform_device *pdev)
 {
 	struct device_node *np = pdev->dev.of_node;
-	struct resource *iores;
 	struct mxs_saif *saif;
 	int irq, ret = 0;
 	struct device_node *master;
@@ -786,9 +785,7 @@ static int mxs_saif_probe(struct platform_device *pdev)
 		return ret;
 	}
 
-	iores = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-
-	saif->base = devm_ioremap_resource(&pdev->dev, iores);
+	saif->base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(saif->base))
 		return PTR_ERR(saif->base);
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: fsl_audmix: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 08/34] ASoC: fsl_audmix: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: fsl_audmix: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From 959bb6b54d708652fe06097feecc3acd4d6b8c89 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:12 +0800
Subject: [PATCH] ASoC: fsl_audmix: use devm_platform_ioremap_resource() to
 simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-9-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/fsl/fsl_audmix.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/fsl/fsl_audmix.c b/sound/soc/fsl/fsl_audmix.c
index 3897a54a11fe..c7e4e9757dce 100644
--- a/sound/soc/fsl/fsl_audmix.c
+++ b/sound/soc/fsl/fsl_audmix.c
@@ -458,7 +458,6 @@ static int fsl_audmix_probe(struct platform_device *pdev)
 {
 	struct device *dev = &pdev->dev;
 	struct fsl_audmix *priv;
-	struct resource *res;
 	const char *mdrv;
 	const struct of_device_id *of_id;
 	void __iomem *regs;
@@ -475,8 +474,7 @@ static int fsl_audmix_probe(struct platform_device *pdev)
 		return -ENOMEM;
 
 	/* Get the addresses */
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	regs = devm_ioremap_resource(dev, res);
+	regs = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(regs))
 		return PTR_ERR(regs);
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: bcm2835-i2s: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 09/34] ASoC: bcm2835-i2s: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: bcm2835-i2s: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From d400b1b30cbff1c0962bbb3f895e839ccd120cb7 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:13 +0800
Subject: [PATCH] ASoC: bcm2835-i2s: use devm_platform_ioremap_resource() to
 simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-10-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/bcm/bcm2835-i2s.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/bcm/bcm2835-i2s.c b/sound/soc/bcm/bcm2835-i2s.c
index 5ef80f3d446a..e6a12e271b07 100644
--- a/sound/soc/bcm/bcm2835-i2s.c
+++ b/sound/soc/bcm/bcm2835-i2s.c
@@ -828,7 +828,6 @@ static int bcm2835_i2s_probe(struct platform_device *pdev)
 {
 	struct bcm2835_i2s_dev *dev;
 	int ret;
-	struct resource *mem;
 	void __iomem *base;
 	const __be32 *addr;
 	dma_addr_t dma_base;
@@ -848,8 +847,7 @@ static int bcm2835_i2s_probe(struct platform_device *pdev)
 	}
 
 	/* Request ioarea */
-	mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	base = devm_ioremap_resource(&pdev->dev, mem);
+	base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(base))
 		return PTR_ERR(base);
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: imx-audmux: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 07/34] ASoC: imx-audmux: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: imx-audmux: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From d003e3081c1d069b94d1b5f4c3bc8234d4603282 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:11 +0800
Subject: [PATCH] ASoC: imx-audmux: use devm_platform_ioremap_resource() to
 simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-8-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/fsl/imx-audmux.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/fsl/imx-audmux.c b/sound/soc/fsl/imx-audmux.c
index b2351cd33b0f..7595f24a006e 100644
--- a/sound/soc/fsl/imx-audmux.c
+++ b/sound/soc/fsl/imx-audmux.c
@@ -298,12 +298,10 @@ static int imx_audmux_parse_dt_defaults(struct platform_device *pdev,
 
 static int imx_audmux_probe(struct platform_device *pdev)
 {
-	struct resource *res;
 	const struct of_device_id *of_id =
 			of_match_device(imx_audmux_dt_ids, &pdev->dev);
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	audmux_base = devm_ioremap_resource(&pdev->dev, res);
+	audmux_base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(audmux_base))
 		return PTR_ERR(audmux_base);
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: mt8173: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 05/34] ASoC: mt8173: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: mt8173: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From fceef72b68d63593d8543a8d608ccc8427e13d56 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:09 +0800
Subject: [PATCH] ASoC: mt8173: use devm_platform_ioremap_resource() to
 simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-6-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/mediatek/mt8173/mt8173-afe-pcm.c b/sound/soc/mediatek/mt8173/mt8173-afe-pcm.c
index 0382896c162e..90bd2c92cae7 100644
--- a/sound/soc/mediatek/mt8173/mt8173-afe-pcm.c
+++ b/sound/soc/mediatek/mt8173/mt8173-afe-pcm.c
@@ -1056,7 +1056,6 @@ static int mt8173_afe_pcm_dev_probe(struct platform_device *pdev)
 	int irq_id;
 	struct mtk_base_afe *afe;
 	struct mt8173_afe_private *afe_priv;
-	struct resource *res;
 
 	ret = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(33));
 	if (ret)
@@ -1086,8 +1085,7 @@ static int mt8173_afe_pcm_dev_probe(struct platform_device *pdev)
 		return ret;
 	}
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	afe->base_addr = devm_ioremap_resource(&pdev->dev, res);
+	afe->base_addr = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(afe->base_addr))
 		return PTR_ERR(afe->base_addr);
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: mt6797: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 06/34] ASoC: mt6797: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: mt6797: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From 61e799e3658952397da80f6c2e3581e7b65209a8 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:10 +0800
Subject: [PATCH] ASoC: mt6797: use devm_platform_ioremap_resource() to
 simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-7-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/sound/soc/mediatek/mt6797/mt6797-afe-pcm.c b/sound/soc/mediatek/mt6797/mt6797-afe-pcm.c
index 08a6532da322..e52c032d53aa 100644
--- a/sound/soc/mediatek/mt6797/mt6797-afe-pcm.c
+++ b/sound/soc/mediatek/mt6797/mt6797-afe-pcm.c
@@ -749,7 +749,6 @@ static int mt6797_afe_pcm_dev_probe(struct platform_device *pdev)
 {
 	struct mtk_base_afe *afe;
 	struct mt6797_afe_private *afe_priv;
-	struct resource *res;
 	struct device *dev;
 	int i, irq_id, ret;
 
@@ -774,9 +773,7 @@ static int mt6797_afe_pcm_dev_probe(struct platform_device *pdev)
 	}
 
 	/* regmap init */
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-
-	afe->base_addr = devm_ioremap_resource(&pdev->dev, res);
+	afe->base_addr = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(afe->base_addr))
 		return PTR_ERR(afe->base_addr);
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: ep93xx-i2s: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 04/34] ASoC: ep93xx-i2s: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: ep93xx-i2s: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From 4b3540074361fc7b97f2da54365c55ceca6333d2 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:08 +0800
Subject: [PATCH] ASoC: ep93xx-i2s: use devm_platform_ioremap_resource() to
 simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-5-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/cirrus/ep93xx-i2s.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/cirrus/ep93xx-i2s.c b/sound/soc/cirrus/ep93xx-i2s.c
index 0b4355e95f84..7d9cf67129d4 100644
--- a/sound/soc/cirrus/ep93xx-i2s.c
+++ b/sound/soc/cirrus/ep93xx-i2s.c
@@ -430,15 +430,13 @@ static const struct snd_soc_component_driver ep93xx_i2s_component = {
 static int ep93xx_i2s_probe(struct platform_device *pdev)
 {
 	struct ep93xx_i2s_info *info;
-	struct resource *res;
 	int err;
 
 	info = devm_kzalloc(&pdev->dev, sizeof(*info), GFP_KERNEL);
 	if (!info)
 		return -ENOMEM;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	info->regs = devm_ioremap_resource(&pdev->dev, res);
+	info->regs = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(info->regs))
 		return PTR_ERR(info->regs);
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: tegra: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 02/34] ASoC: tegra: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: tegra: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From 7d22808641cdea50baeae636acf5d592a7aa1239 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:06 +0800
Subject: [PATCH] ASoC: tegra: use devm_platform_ioremap_resource() to simplify
 code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-3-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/tegra/tegra30_i2s.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/tegra/tegra30_i2s.c b/sound/soc/tegra/tegra30_i2s.c
index ac6983c6bd72..e6d548fa980b 100644
--- a/sound/soc/tegra/tegra30_i2s.c
+++ b/sound/soc/tegra/tegra30_i2s.c
@@ -368,7 +368,6 @@ static int tegra30_i2s_platform_probe(struct platform_device *pdev)
 	struct tegra30_i2s *i2s;
 	const struct of_device_id *match;
 	u32 cif_ids[2];
-	struct resource *mem;
 	void __iomem *regs;
 	int ret;
 
@@ -406,8 +405,7 @@ static int tegra30_i2s_platform_probe(struct platform_device *pdev)
 		goto err;
 	}
 
-	mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	regs = devm_ioremap_resource(&pdev->dev, mem);
+	regs = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(regs)) {
 		ret = PTR_ERR(regs);
 		goto err_clk_put;
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: rockchip: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 03/34] ASoC: rockchip: use devm_platform_ioremap_resource() to simplify code YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: rockchip: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From f052172a5bb474fef2d0c3911655c9e107a3c024 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:07 +0800
Subject: [PATCH] ASoC: rockchip: use devm_platform_ioremap_resource() to
 simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-4-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/codecs/rk3328_codec.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/codecs/rk3328_codec.c b/sound/soc/codecs/rk3328_codec.c
index 24f8f86d58e9..287c962ba00d 100644
--- a/sound/soc/codecs/rk3328_codec.c
+++ b/sound/soc/codecs/rk3328_codec.c
@@ -432,7 +432,6 @@ static int rk3328_platform_probe(struct platform_device *pdev)
 {
 	struct device_node *rk3328_np = pdev->dev.of_node;
 	struct rk3328_codec_priv *rk3328;
-	struct resource *res;
 	struct regmap *grf;
 	void __iomem *base;
 	int ret = 0;
@@ -482,8 +481,7 @@ static int rk3328_platform_probe(struct platform_device *pdev)
 		return ret;
 	}
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	base = devm_ioremap_resource(&pdev->dev, res);
+	base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(base))
 		return PTR_ERR(base);
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

* Applied "ASoC: tegra20_das: use devm_platform_ioremap_resource() to simplify code" to the asoc tree
  2019-07-27 15:07 ` [PATCH -next 01/34] ASoC: tegra20_das: " YueHaibing
@ 2019-07-31 11:29   ` Mark Brown
  0 siblings, 0 replies; 69+ messages in thread
From: Mark Brown @ 2019-07-31 11:29 UTC (permalink / raw)
  To: YueHaibing
  Cc: alexandre.torgue, alsa-devel, arnaud.pouliquen, baohua,
	bcm-kernel-feedback-list, broonie, daniel, eric, festevam,
	f.fainelli, gregkh, haojian.zhuang, Hulk Robot, jbrunet,
	jcmvbkbc, jonathanh, kernel, khilman, lgirdwood, linux-amlogic,
	linux-arm-kernel, linux-imx, linux-kernel, linux-mediatek,
	linuxppc-dev, linux-rpi-kernel, linux-stm32, linux-tegra,
	linux-xtensa, Mark Brown, matthias.bgg, mcoquelin.stm32,
	michal.simek, mripard, nicoleotsuka, olivier.moysan, paul, perex,
	rjui, robert.jarzmik, sbranden, s.hauer, shawnguo,
	thierry.reding, timur, tiwai, wahrenst, wens, Xiubo.Lee,
	yamada.masahiro

The patch

   ASoC: tegra20_das: use devm_platform_ioremap_resource() to simplify code

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From 21cc4ea85879c1b424fb01caa6e481c14286f7f0 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Sat, 27 Jul 2019 23:07:05 +0800
Subject: [PATCH] ASoC: tegra20_das: use devm_platform_ioremap_resource() to
 simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-2-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/tegra/tegra20_das.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/tegra/tegra20_das.c b/sound/soc/tegra/tegra20_das.c
index 10f9c3b19c88..1070b2710d5e 100644
--- a/sound/soc/tegra/tegra20_das.c
+++ b/sound/soc/tegra/tegra20_das.c
@@ -120,7 +120,6 @@ static const struct regmap_config tegra20_das_regmap_config = {
 
 static int tegra20_das_probe(struct platform_device *pdev)
 {
-	struct resource *res;
 	void __iomem *regs;
 	int ret = 0;
 
@@ -134,8 +133,7 @@ static int tegra20_das_probe(struct platform_device *pdev)
 	}
 	das->dev = &pdev->dev;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	regs = devm_ioremap_resource(&pdev->dev, res);
+	regs = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(regs)) {
 		ret = PTR_ERR(regs);
 		goto err;
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 69+ messages in thread

end of thread, other threads:[~2019-07-31 11:33 UTC | newest]

Thread overview: 69+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-27 15:07 [PATCH -next 00/34] ASoC: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-27 15:07 ` [PATCH -next 01/34] ASoC: tegra20_das: " YueHaibing
2019-07-31 11:29   ` Applied "ASoC: tegra20_das: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 02/34] ASoC: tegra: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: tegra: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 03/34] ASoC: rockchip: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: rockchip: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 04/34] ASoC: ep93xx-i2s: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: ep93xx-i2s: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 05/34] ASoC: mt8173: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: mt8173: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 06/34] ASoC: mt6797: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: mt6797: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 07/34] ASoC: imx-audmux: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: imx-audmux: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 08/34] ASoC: fsl_audmix: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: fsl_audmix: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 09/34] ASoC: bcm2835-i2s: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: bcm2835-i2s: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 10/34] ASoC: sirf: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: sirf: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 11/34] ASoC: mxs-saif: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: mxs-saif: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 12/34] ASoC: spear: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: spear: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 13/34] ASoC: kirkwood-i2s: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: kirkwood-i2s: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 14/34] ASoC: xtfpga-i2s: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: xtfpga-i2s: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 15/34] ASoC: stm32: sai: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: stm32: sai: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 16/34] ASoC: codecs: msm8916-wcd: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: codecs: msm8916-wcd: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 17/34] ASoC: codecs: jz4725b: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: codecs: jz4725b: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 18/34] ASoC: mmp-sspa: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: mmp-sspa: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 19/34] ASoC: jz4740: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: jz4740: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 20/34] ASoC: inno_rk3036: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: inno_rk3036: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 21/34] ASoC: uniphier: evea: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: uniphier: evea: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 22/34] ASoC: uniphier: aio-dma: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: uniphier: aio-dma: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 23/34] ASoC: psc-ac97: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: psc-ac97: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 24/34] ASoC: au1x: psc-i2s: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: au1x: psc-i2s: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 25/34] ASoC: meson: g12a-tohdmitx: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: meson: g12a-tohdmitx: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 26/34] ASoC: meson: axg-tdm-formatter: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: meson: axg-tdm-formatter: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 27/34] ASoC: meson: axg-pdm: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: meson: axg-pdm: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 28/34] ASoC: meson: axg-spdifin: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: meson: axg-spdifin: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 29/34] ASoC: meson: axg-spdifout: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: meson: axg-spdifout: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 30/34] ASoC: meson: axg-fifo: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: meson: axg-fifo: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 31/34] ASoC: xlnx: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: xlnx: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 32/34] ASoC: sun8i-codec-analog: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: sun8i-codec-analog: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 33/34] ASoC: sunxi: sun50i-codec-analog: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: sunxi: sun50i-codec-analog: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown
2019-07-27 15:07 ` [PATCH -next 34/34] ASoC: sun8i-codec: use devm_platform_ioremap_resource() to simplify code YueHaibing
2019-07-31 11:29   ` Applied "ASoC: sun8i-codec: use devm_platform_ioremap_resource() to simplify code" to the asoc tree Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).