Linux-Amlogic Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource
@ 2019-12-29  8:05 Yangtao Li
  2019-12-29  8:05 ` [PATCH 02/32] pwm: fsl-ftm: " Yangtao Li
                   ` (31 more replies)
  0 siblings, 32 replies; 69+ messages in thread
From: Yangtao Li @ 2019-12-29  8:05 UTC (permalink / raw)
  To: claudiu.beznea, thierry.reding, u.kleine-koenig, nicolas.ferre,
	alexandre.belloni, ludovic.desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra
  Cc: Yangtao Li

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pwm/pwm-sun4i.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/pwm/pwm-sun4i.c b/drivers/pwm/pwm-sun4i.c
index 581d23287333..f2afd312f77c 100644
--- a/drivers/pwm/pwm-sun4i.c
+++ b/drivers/pwm/pwm-sun4i.c
@@ -344,7 +344,6 @@ MODULE_DEVICE_TABLE(of, sun4i_pwm_dt_ids);
 static int sun4i_pwm_probe(struct platform_device *pdev)
 {
 	struct sun4i_pwm_chip *pwm;
-	struct resource *res;
 	int ret;
 
 	pwm = devm_kzalloc(&pdev->dev, sizeof(*pwm), GFP_KERNEL);
@@ -355,8 +354,7 @@ static int sun4i_pwm_probe(struct platform_device *pdev)
 	if (!pwm->data)
 		return -ENODEV;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	pwm->base = devm_ioremap_resource(&pdev->dev, res);
+	pwm->base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(pwm->base))
 		return PTR_ERR(pwm->base);
 
-- 
2.17.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 02/32] pwm: fsl-ftm: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
@ 2019-12-29  8:05 ` Yangtao Li
  2020-05-23 17:24   ` Uwe Kleine-König
  2019-12-29  8:05 ` [PATCH 03/32] pwm: rcar: " Yangtao Li
                   ` (30 subsequent siblings)
  31 siblings, 1 reply; 69+ messages in thread
From: Yangtao Li @ 2019-12-29  8:05 UTC (permalink / raw)
  To: claudiu.beznea, thierry.reding, u.kleine-koenig, nicolas.ferre,
	alexandre.belloni, ludovic.desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra
  Cc: Yangtao Li

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pwm/pwm-fsl-ftm.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/pwm/pwm-fsl-ftm.c b/drivers/pwm/pwm-fsl-ftm.c
index 59272a920479..2a6801226aba 100644
--- a/drivers/pwm/pwm-fsl-ftm.c
+++ b/drivers/pwm/pwm-fsl-ftm.c
@@ -399,7 +399,6 @@ static const struct regmap_config fsl_pwm_regmap_config = {
 static int fsl_pwm_probe(struct platform_device *pdev)
 {
 	struct fsl_pwm_chip *fpc;
-	struct resource *res;
 	void __iomem *base;
 	int ret;
 
@@ -412,8 +411,7 @@ static int fsl_pwm_probe(struct platform_device *pdev)
 	fpc->soc = of_device_get_match_data(&pdev->dev);
 	fpc->chip.dev = &pdev->dev;
 
-	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.17.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 03/32] pwm: rcar: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
  2019-12-29  8:05 ` [PATCH 02/32] pwm: fsl-ftm: " Yangtao Li
@ 2019-12-29  8:05 ` Yangtao Li
  2020-05-23 17:24   ` Uwe Kleine-König
  2019-12-29  8:05 ` [PATCH 04/32] pwm: renesas-tpu: " Yangtao Li
                   ` (29 subsequent siblings)
  31 siblings, 1 reply; 69+ messages in thread
From: Yangtao Li @ 2019-12-29  8:05 UTC (permalink / raw)
  To: claudiu.beznea, thierry.reding, u.kleine-koenig, nicolas.ferre,
	alexandre.belloni, ludovic.desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra
  Cc: Yangtao Li

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pwm/pwm-rcar.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/pwm/pwm-rcar.c b/drivers/pwm/pwm-rcar.c
index 852eb2347954..7bd67f69db84 100644
--- a/drivers/pwm/pwm-rcar.c
+++ b/drivers/pwm/pwm-rcar.c
@@ -203,15 +203,13 @@ static const struct pwm_ops rcar_pwm_ops = {
 static int rcar_pwm_probe(struct platform_device *pdev)
 {
 	struct rcar_pwm_chip *rcar_pwm;
-	struct resource *res;
 	int ret;
 
 	rcar_pwm = devm_kzalloc(&pdev->dev, sizeof(*rcar_pwm), GFP_KERNEL);
 	if (rcar_pwm == NULL)
 		return -ENOMEM;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	rcar_pwm->base = devm_ioremap_resource(&pdev->dev, res);
+	rcar_pwm->base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(rcar_pwm->base))
 		return PTR_ERR(rcar_pwm->base);
 
-- 
2.17.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 04/32] pwm: renesas-tpu: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
  2019-12-29  8:05 ` [PATCH 02/32] pwm: fsl-ftm: " Yangtao Li
  2019-12-29  8:05 ` [PATCH 03/32] pwm: rcar: " Yangtao Li
@ 2019-12-29  8:05 ` Yangtao Li
  2020-05-23 17:12   ` Uwe Kleine-König
  2019-12-29  8:05 ` [PATCH 05/32] pwm: ep93xx: " Yangtao Li
                   ` (28 subsequent siblings)
  31 siblings, 1 reply; 69+ messages in thread
From: Yangtao Li @ 2019-12-29  8:05 UTC (permalink / raw)
  To: claudiu.beznea, thierry.reding, u.kleine-koenig, nicolas.ferre,
	alexandre.belloni, ludovic.desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra
  Cc: Yangtao Li

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pwm/pwm-renesas-tpu.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/pwm/pwm-renesas-tpu.c b/drivers/pwm/pwm-renesas-tpu.c
index 4a855a21b782..9f4695cc8e72 100644
--- a/drivers/pwm/pwm-renesas-tpu.c
+++ b/drivers/pwm/pwm-renesas-tpu.c
@@ -383,7 +383,6 @@ static const struct pwm_ops tpu_pwm_ops = {
 static int tpu_probe(struct platform_device *pdev)
 {
 	struct tpu_device *tpu;
-	struct resource *res;
 	int ret;
 
 	tpu = devm_kzalloc(&pdev->dev, sizeof(*tpu), GFP_KERNEL);
@@ -394,8 +393,7 @@ static int tpu_probe(struct platform_device *pdev)
 	tpu->pdev = pdev;
 
 	/* Map memory, get clock and pin control. */
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	tpu->base = devm_ioremap_resource(&pdev->dev, res);
+	tpu->base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(tpu->base))
 		return PTR_ERR(tpu->base);
 
-- 
2.17.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 05/32] pwm: ep93xx: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
                   ` (2 preceding siblings ...)
  2019-12-29  8:05 ` [PATCH 04/32] pwm: renesas-tpu: " Yangtao Li
@ 2019-12-29  8:05 ` Yangtao Li
  2020-05-23 17:24   ` Uwe Kleine-König
  2019-12-29  8:05 ` [PATCH 06/32] pwm: tegra: " Yangtao Li
                   ` (27 subsequent siblings)
  31 siblings, 1 reply; 69+ messages in thread
From: Yangtao Li @ 2019-12-29  8:05 UTC (permalink / raw)
  To: claudiu.beznea, thierry.reding, u.kleine-koenig, nicolas.ferre,
	alexandre.belloni, ludovic.desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra
  Cc: Yangtao Li

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pwm/pwm-ep93xx.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/pwm/pwm-ep93xx.c b/drivers/pwm/pwm-ep93xx.c
index 4bab73073ad7..c9fc6f223640 100644
--- a/drivers/pwm/pwm-ep93xx.c
+++ b/drivers/pwm/pwm-ep93xx.c
@@ -169,15 +169,13 @@ static const struct pwm_ops ep93xx_pwm_ops = {
 static int ep93xx_pwm_probe(struct platform_device *pdev)
 {
 	struct ep93xx_pwm *ep93xx_pwm;
-	struct resource *res;
 	int ret;
 
 	ep93xx_pwm = devm_kzalloc(&pdev->dev, sizeof(*ep93xx_pwm), GFP_KERNEL);
 	if (!ep93xx_pwm)
 		return -ENOMEM;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	ep93xx_pwm->base = devm_ioremap_resource(&pdev->dev, res);
+	ep93xx_pwm->base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(ep93xx_pwm->base))
 		return PTR_ERR(ep93xx_pwm->base);
 
-- 
2.17.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 06/32] pwm: tegra: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
                   ` (3 preceding siblings ...)
  2019-12-29  8:05 ` [PATCH 05/32] pwm: ep93xx: " Yangtao Li
@ 2019-12-29  8:05 ` Yangtao Li
  2020-05-23 17:23   ` Uwe Kleine-König
  2019-12-29  8:05 ` [PATCH 07/32] pwm: mediatek: " Yangtao Li
                   ` (26 subsequent siblings)
  31 siblings, 1 reply; 69+ messages in thread
From: Yangtao Li @ 2019-12-29  8:05 UTC (permalink / raw)
  To: claudiu.beznea, thierry.reding, u.kleine-koenig, nicolas.ferre,
	alexandre.belloni, ludovic.desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra
  Cc: Yangtao Li

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pwm/pwm-tegra.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/pwm/pwm-tegra.c b/drivers/pwm/pwm-tegra.c
index aa12fb3ed92e..7f77a93eb4b5 100644
--- a/drivers/pwm/pwm-tegra.c
+++ b/drivers/pwm/pwm-tegra.c
@@ -170,7 +170,6 @@ static const struct pwm_ops tegra_pwm_ops = {
 static int tegra_pwm_probe(struct platform_device *pdev)
 {
 	struct tegra_pwm_chip *pwm;
-	struct resource *r;
 	int ret;
 
 	pwm = devm_kzalloc(&pdev->dev, sizeof(*pwm), GFP_KERNEL);
@@ -180,8 +179,7 @@ static int tegra_pwm_probe(struct platform_device *pdev)
 	pwm->soc = of_device_get_match_data(&pdev->dev);
 	pwm->dev = &pdev->dev;
 
-	r = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	pwm->regs = devm_ioremap_resource(&pdev->dev, r);
+	pwm->regs = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(pwm->regs))
 		return PTR_ERR(pwm->regs);
 
-- 
2.17.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 07/32] pwm: mediatek: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
                   ` (4 preceding siblings ...)
  2019-12-29  8:05 ` [PATCH 06/32] pwm: tegra: " Yangtao Li
@ 2019-12-29  8:05 ` Yangtao Li
  2020-05-23 17:23   ` Uwe Kleine-König
  2019-12-29  8:05 ` [PATCH 08/32] pwm: sti: " Yangtao Li
                   ` (25 subsequent siblings)
  31 siblings, 1 reply; 69+ messages in thread
From: Yangtao Li @ 2019-12-29  8:05 UTC (permalink / raw)
  To: claudiu.beznea, thierry.reding, u.kleine-koenig, nicolas.ferre,
	alexandre.belloni, ludovic.desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra
  Cc: Yangtao Li

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pwm/pwm-mediatek.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/pwm/pwm-mediatek.c b/drivers/pwm/pwm-mediatek.c
index b94e0d09c300..e4a715d3860c 100644
--- a/drivers/pwm/pwm-mediatek.c
+++ b/drivers/pwm/pwm-mediatek.c
@@ -207,7 +207,6 @@ static const struct pwm_ops pwm_mediatek_ops = {
 static int pwm_mediatek_probe(struct platform_device *pdev)
 {
 	struct pwm_mediatek_chip *pc;
-	struct resource *res;
 	unsigned int i;
 	int ret;
 
@@ -217,8 +216,7 @@ static int pwm_mediatek_probe(struct platform_device *pdev)
 
 	pc->soc = of_device_get_match_data(&pdev->dev);
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	pc->regs = devm_ioremap_resource(&pdev->dev, res);
+	pc->regs = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(pc->regs))
 		return PTR_ERR(pc->regs);
 
-- 
2.17.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 08/32] pwm: sti: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
                   ` (5 preceding siblings ...)
  2019-12-29  8:05 ` [PATCH 07/32] pwm: mediatek: " Yangtao Li
@ 2019-12-29  8:05 ` Yangtao Li
  2020-05-23 17:23   ` Uwe Kleine-König
  2019-12-29  8:05 ` [PATCH 09/32] pwm: pxa: " Yangtao Li
                   ` (24 subsequent siblings)
  31 siblings, 1 reply; 69+ messages in thread
From: Yangtao Li @ 2019-12-29  8:05 UTC (permalink / raw)
  To: claudiu.beznea, thierry.reding, u.kleine-koenig, nicolas.ferre,
	alexandre.belloni, ludovic.desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra
  Cc: Yangtao Li

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pwm/pwm-sti.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/drivers/pwm/pwm-sti.c b/drivers/pwm/pwm-sti.c
index 1508616d794c..eaeb38c0c0c7 100644
--- a/drivers/pwm/pwm-sti.c
+++ b/drivers/pwm/pwm-sti.c
@@ -540,7 +540,6 @@ static int sti_pwm_probe(struct platform_device *pdev)
 	struct device *dev = &pdev->dev;
 	struct sti_pwm_compat_data *cdata;
 	struct sti_pwm_chip *pc;
-	struct resource *res;
 	unsigned int i;
 	int irq, ret;
 
@@ -552,9 +551,7 @@ static int sti_pwm_probe(struct platform_device *pdev)
 	if (!cdata)
 		return -ENOMEM;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-
-	pc->mmio = devm_ioremap_resource(dev, res);
+	pc->mmio = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(pc->mmio))
 		return PTR_ERR(pc->mmio);
 
-- 
2.17.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 09/32] pwm: pxa: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
                   ` (6 preceding siblings ...)
  2019-12-29  8:05 ` [PATCH 08/32] pwm: sti: " Yangtao Li
@ 2019-12-29  8:05 ` Yangtao Li
  2020-05-23 17:20   ` Uwe Kleine-König
  2019-12-29  8:05 ` [PATCH 10/32] pwm: zx: " Yangtao Li
                   ` (23 subsequent siblings)
  31 siblings, 1 reply; 69+ messages in thread
From: Yangtao Li @ 2019-12-29  8:05 UTC (permalink / raw)
  To: claudiu.beznea, thierry.reding, u.kleine-koenig, nicolas.ferre,
	alexandre.belloni, ludovic.desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra
  Cc: Yangtao Li

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pwm/pwm-pxa.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/pwm/pwm-pxa.c b/drivers/pwm/pwm-pxa.c
index a2a0912c2dcd..d06cf60e6575 100644
--- a/drivers/pwm/pwm-pxa.c
+++ b/drivers/pwm/pwm-pxa.c
@@ -166,7 +166,6 @@ static int pwm_probe(struct platform_device *pdev)
 {
 	const struct platform_device_id *id = platform_get_device_id(pdev);
 	struct pxa_pwm_chip *pwm;
-	struct resource *r;
 	int ret = 0;
 
 	if (IS_ENABLED(CONFIG_OF) && id == NULL)
@@ -193,8 +192,7 @@ static int pwm_probe(struct platform_device *pdev)
 		pwm->chip.of_pwm_n_cells = 1;
 	}
 
-	r = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	pwm->mmio_base = devm_ioremap_resource(&pdev->dev, r);
+	pwm->mmio_base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(pwm->mmio_base))
 		return PTR_ERR(pwm->mmio_base);
 
-- 
2.17.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 10/32] pwm: zx: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
                   ` (7 preceding siblings ...)
  2019-12-29  8:05 ` [PATCH 09/32] pwm: pxa: " Yangtao Li
@ 2019-12-29  8:05 ` Yangtao Li
  2020-05-23 17:23   ` Uwe Kleine-König
  2019-12-29  8:05 ` [PATCH 11/32] pwm: spear: " Yangtao Li
                   ` (22 subsequent siblings)
  31 siblings, 1 reply; 69+ messages in thread
From: Yangtao Li @ 2019-12-29  8:05 UTC (permalink / raw)
  To: claudiu.beznea, thierry.reding, u.kleine-koenig, nicolas.ferre,
	alexandre.belloni, ludovic.desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra
  Cc: Yangtao Li

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pwm/pwm-zx.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/pwm/pwm-zx.c b/drivers/pwm/pwm-zx.c
index e2c21cc34a96..0f5e8919b034 100644
--- a/drivers/pwm/pwm-zx.c
+++ b/drivers/pwm/pwm-zx.c
@@ -196,7 +196,6 @@ static const struct pwm_ops zx_pwm_ops = {
 static int zx_pwm_probe(struct platform_device *pdev)
 {
 	struct zx_pwm_chip *zpc;
-	struct resource *res;
 	unsigned int i;
 	int ret;
 
@@ -204,8 +203,7 @@ static int zx_pwm_probe(struct platform_device *pdev)
 	if (!zpc)
 		return -ENOMEM;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	zpc->base = devm_ioremap_resource(&pdev->dev, res);
+	zpc->base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(zpc->base))
 		return PTR_ERR(zpc->base);
 
-- 
2.17.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 11/32] pwm: spear: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
                   ` (8 preceding siblings ...)
  2019-12-29  8:05 ` [PATCH 10/32] pwm: zx: " Yangtao Li
@ 2019-12-29  8:05 ` Yangtao Li
  2020-05-23 17:23   ` Uwe Kleine-König
  2019-12-29  8:05 ` [PATCH 12/32] pwm: bcm-kona: " Yangtao Li
                   ` (21 subsequent siblings)
  31 siblings, 1 reply; 69+ messages in thread
From: Yangtao Li @ 2019-12-29  8:05 UTC (permalink / raw)
  To: claudiu.beznea, thierry.reding, u.kleine-koenig, nicolas.ferre,
	alexandre.belloni, ludovic.desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra
  Cc: Yangtao Li

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pwm/pwm-spear.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/pwm/pwm-spear.c b/drivers/pwm/pwm-spear.c
index 6c6b44fd3f43..f63b54aae1b4 100644
--- a/drivers/pwm/pwm-spear.c
+++ b/drivers/pwm/pwm-spear.c
@@ -174,7 +174,6 @@ static int spear_pwm_probe(struct platform_device *pdev)
 {
 	struct device_node *np = pdev->dev.of_node;
 	struct spear_pwm_chip *pc;
-	struct resource *r;
 	int ret;
 	u32 val;
 
@@ -182,8 +181,7 @@ static int spear_pwm_probe(struct platform_device *pdev)
 	if (!pc)
 		return -ENOMEM;
 
-	r = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	pc->mmio_base = devm_ioremap_resource(&pdev->dev, r);
+	pc->mmio_base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(pc->mmio_base))
 		return PTR_ERR(pc->mmio_base);
 
-- 
2.17.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 12/32] pwm: bcm-kona: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
                   ` (9 preceding siblings ...)
  2019-12-29  8:05 ` [PATCH 11/32] pwm: spear: " Yangtao Li
@ 2019-12-29  8:05 ` Yangtao Li
  2020-05-23 17:20   ` Uwe Kleine-König
  2019-12-29  8:05 ` [PATCH 13/32] pwm: lpc32xx: " Yangtao Li
                   ` (20 subsequent siblings)
  31 siblings, 1 reply; 69+ messages in thread
From: Yangtao Li @ 2019-12-29  8:05 UTC (permalink / raw)
  To: claudiu.beznea, thierry.reding, u.kleine-koenig, nicolas.ferre,
	alexandre.belloni, ludovic.desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra
  Cc: Yangtao Li

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pwm/pwm-bcm-kona.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/pwm/pwm-bcm-kona.c b/drivers/pwm/pwm-bcm-kona.c
index 81da91df2529..aa451987733b 100644
--- a/drivers/pwm/pwm-bcm-kona.c
+++ b/drivers/pwm/pwm-bcm-kona.c
@@ -259,7 +259,6 @@ static const struct pwm_ops kona_pwm_ops = {
 static int kona_pwmc_probe(struct platform_device *pdev)
 {
 	struct kona_pwmc *kp;
-	struct resource *res;
 	unsigned int chan;
 	unsigned int value = 0;
 	int ret = 0;
@@ -277,8 +276,7 @@ static int kona_pwmc_probe(struct platform_device *pdev)
 	kp->chip.of_xlate = of_pwm_xlate_with_flags;
 	kp->chip.of_pwm_n_cells = 3;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	kp->base = devm_ioremap_resource(&pdev->dev, res);
+	kp->base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(kp->base))
 		return PTR_ERR(kp->base);
 
-- 
2.17.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 13/32] pwm: lpc32xx: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
                   ` (10 preceding siblings ...)
  2019-12-29  8:05 ` [PATCH 12/32] pwm: bcm-kona: " Yangtao Li
@ 2019-12-29  8:05 ` Yangtao Li
  2020-05-23 17:20   ` Uwe Kleine-König
  2019-12-29  8:05 ` [PATCH 14/32] pwm: meson: " Yangtao Li
                   ` (19 subsequent siblings)
  31 siblings, 1 reply; 69+ messages in thread
From: Yangtao Li @ 2019-12-29  8:05 UTC (permalink / raw)
  To: claudiu.beznea, thierry.reding, u.kleine-koenig, nicolas.ferre,
	alexandre.belloni, ludovic.desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra
  Cc: Yangtao Li

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pwm/pwm-lpc32xx.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/pwm/pwm-lpc32xx.c b/drivers/pwm/pwm-lpc32xx.c
index 710d9a207d2b..6b4090436c06 100644
--- a/drivers/pwm/pwm-lpc32xx.c
+++ b/drivers/pwm/pwm-lpc32xx.c
@@ -98,7 +98,6 @@ static const struct pwm_ops lpc32xx_pwm_ops = {
 static int lpc32xx_pwm_probe(struct platform_device *pdev)
 {
 	struct lpc32xx_pwm_chip *lpc32xx;
-	struct resource *res;
 	int ret;
 	u32 val;
 
@@ -106,8 +105,7 @@ static int lpc32xx_pwm_probe(struct platform_device *pdev)
 	if (!lpc32xx)
 		return -ENOMEM;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	lpc32xx->base = devm_ioremap_resource(&pdev->dev, res);
+	lpc32xx->base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(lpc32xx->base))
 		return PTR_ERR(lpc32xx->base);
 
-- 
2.17.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 14/32] pwm: meson: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
                   ` (11 preceding siblings ...)
  2019-12-29  8:05 ` [PATCH 13/32] pwm: lpc32xx: " Yangtao Li
@ 2019-12-29  8:05 ` Yangtao Li
  2019-12-31 14:53   ` Martin Blumenstingl
  2020-05-23 17:25   ` Uwe Kleine-König
  2019-12-29  8:05 ` [PATCH 15/32] pwm: rockchip: " Yangtao Li
                   ` (18 subsequent siblings)
  31 siblings, 2 replies; 69+ messages in thread
From: Yangtao Li @ 2019-12-29  8:05 UTC (permalink / raw)
  To: claudiu.beznea, thierry.reding, u.kleine-koenig, nicolas.ferre,
	alexandre.belloni, ludovic.desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra
  Cc: Yangtao Li

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pwm/pwm-meson.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/pwm/pwm-meson.c b/drivers/pwm/pwm-meson.c
index 6245bbdb6e6c..62fc79092038 100644
--- a/drivers/pwm/pwm-meson.c
+++ b/drivers/pwm/pwm-meson.c
@@ -537,15 +537,13 @@ static int meson_pwm_init_channels(struct meson_pwm *meson)
 static int meson_pwm_probe(struct platform_device *pdev)
 {
 	struct meson_pwm *meson;
-	struct resource *regs;
 	int err;
 
 	meson = devm_kzalloc(&pdev->dev, sizeof(*meson), GFP_KERNEL);
 	if (!meson)
 		return -ENOMEM;
 
-	regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	meson->base = devm_ioremap_resource(&pdev->dev, regs);
+	meson->base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(meson->base))
 		return PTR_ERR(meson->base);
 
-- 
2.17.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 15/32] pwm: rockchip: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
                   ` (12 preceding siblings ...)
  2019-12-29  8:05 ` [PATCH 14/32] pwm: meson: " Yangtao Li
@ 2019-12-29  8:05 ` Yangtao Li
  2019-12-30  8:39   ` Heiko Stuebner
  2020-05-23 17:25   ` Uwe Kleine-König
  2019-12-29  8:05 ` [PATCH 16/32] pwm: bcm-iproc: " Yangtao Li
                   ` (17 subsequent siblings)
  31 siblings, 2 replies; 69+ messages in thread
From: Yangtao Li @ 2019-12-29  8:05 UTC (permalink / raw)
  To: claudiu.beznea, thierry.reding, u.kleine-koenig, nicolas.ferre,
	alexandre.belloni, ludovic.desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra
  Cc: Yangtao Li

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pwm/pwm-rockchip.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/pwm/pwm-rockchip.c b/drivers/pwm/pwm-rockchip.c
index 73352e6fbccb..f0549b82338d 100644
--- a/drivers/pwm/pwm-rockchip.c
+++ b/drivers/pwm/pwm-rockchip.c
@@ -292,7 +292,6 @@ static int rockchip_pwm_probe(struct platform_device *pdev)
 {
 	const struct of_device_id *id;
 	struct rockchip_pwm_chip *pc;
-	struct resource *r;
 	int ret, count;
 
 	id = of_match_device(rockchip_pwm_dt_ids, &pdev->dev);
@@ -303,8 +302,7 @@ static int rockchip_pwm_probe(struct platform_device *pdev)
 	if (!pc)
 		return -ENOMEM;
 
-	r = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	pc->base = devm_ioremap_resource(&pdev->dev, r);
+	pc->base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(pc->base))
 		return PTR_ERR(pc->base);
 
-- 
2.17.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 16/32] pwm: bcm-iproc: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
                   ` (13 preceding siblings ...)
  2019-12-29  8:05 ` [PATCH 15/32] pwm: rockchip: " Yangtao Li
@ 2019-12-29  8:05 ` Yangtao Li
  2020-05-23 17:22   ` Uwe Kleine-König
  2019-12-29  8:05 ` [PATCH 17/32] pwm: samsung: " Yangtao Li
                   ` (16 subsequent siblings)
  31 siblings, 1 reply; 69+ messages in thread
From: Yangtao Li @ 2019-12-29  8:05 UTC (permalink / raw)
  To: claudiu.beznea, thierry.reding, u.kleine-koenig, nicolas.ferre,
	alexandre.belloni, ludovic.desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra
  Cc: Yangtao Li

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pwm/pwm-bcm-iproc.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/pwm/pwm-bcm-iproc.c b/drivers/pwm/pwm-bcm-iproc.c
index 1f829edd8ee7..52860df7d9b7 100644
--- a/drivers/pwm/pwm-bcm-iproc.c
+++ b/drivers/pwm/pwm-bcm-iproc.c
@@ -193,7 +193,6 @@ static const struct pwm_ops iproc_pwm_ops = {
 static int iproc_pwmc_probe(struct platform_device *pdev)
 {
 	struct iproc_pwmc *ip;
-	struct resource *res;
 	unsigned int i;
 	u32 value;
 	int ret;
@@ -211,8 +210,7 @@ static int iproc_pwmc_probe(struct platform_device *pdev)
 	ip->chip.of_xlate = of_pwm_xlate_with_flags;
 	ip->chip.of_pwm_n_cells = 3;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	ip->base = devm_ioremap_resource(&pdev->dev, res);
+	ip->base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(ip->base))
 		return PTR_ERR(ip->base);
 
-- 
2.17.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 17/32] pwm: samsung: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
                   ` (14 preceding siblings ...)
  2019-12-29  8:05 ` [PATCH 16/32] pwm: bcm-iproc: " Yangtao Li
@ 2019-12-29  8:05 ` Yangtao Li
  2020-05-23 17:21   ` Uwe Kleine-König
  2019-12-29  8:05 ` [PATCH 18/32] pwm: tiehrpwm: " Yangtao Li
                   ` (15 subsequent siblings)
  31 siblings, 1 reply; 69+ messages in thread
From: Yangtao Li @ 2019-12-29  8:05 UTC (permalink / raw)
  To: claudiu.beznea, thierry.reding, u.kleine-koenig, nicolas.ferre,
	alexandre.belloni, ludovic.desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra
  Cc: Yangtao Li

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pwm/pwm-samsung.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/pwm/pwm-samsung.c b/drivers/pwm/pwm-samsung.c
index 87a886f7dc2f..645d0066ff0a 100644
--- a/drivers/pwm/pwm-samsung.c
+++ b/drivers/pwm/pwm-samsung.c
@@ -510,7 +510,6 @@ static int pwm_samsung_probe(struct platform_device *pdev)
 {
 	struct device *dev = &pdev->dev;
 	struct samsung_pwm_chip *chip;
-	struct resource *res;
 	unsigned int chan;
 	int ret;
 
@@ -541,8 +540,7 @@ static int pwm_samsung_probe(struct platform_device *pdev)
 							sizeof(chip->variant));
 	}
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	chip->base = devm_ioremap_resource(&pdev->dev, res);
+	chip->base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(chip->base))
 		return PTR_ERR(chip->base);
 
-- 
2.17.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 18/32] pwm: tiehrpwm: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
                   ` (15 preceding siblings ...)
  2019-12-29  8:05 ` [PATCH 17/32] pwm: samsung: " Yangtao Li
@ 2019-12-29  8:05 ` Yangtao Li
  2020-05-23 17:22   ` Uwe Kleine-König
  2019-12-29  8:05 ` [PATCH 19/32] pwm: puv3: " Yangtao Li
                   ` (14 subsequent siblings)
  31 siblings, 1 reply; 69+ messages in thread
From: Yangtao Li @ 2019-12-29  8:05 UTC (permalink / raw)
  To: claudiu.beznea, thierry.reding, u.kleine-koenig, nicolas.ferre,
	alexandre.belloni, ludovic.desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra
  Cc: Yangtao Li

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pwm/pwm-tiehrpwm.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/pwm/pwm-tiehrpwm.c b/drivers/pwm/pwm-tiehrpwm.c
index 7b4c770ce9d6..3a1313caa5fe 100644
--- a/drivers/pwm/pwm-tiehrpwm.c
+++ b/drivers/pwm/pwm-tiehrpwm.c
@@ -421,7 +421,6 @@ static int ehrpwm_pwm_probe(struct platform_device *pdev)
 {
 	struct device_node *np = pdev->dev.of_node;
 	struct ehrpwm_pwm_chip *pc;
-	struct resource *r;
 	struct clk *clk;
 	int ret;
 
@@ -455,8 +454,7 @@ static int ehrpwm_pwm_probe(struct platform_device *pdev)
 	pc->chip.base = -1;
 	pc->chip.npwm = NUM_PWM_CHANNEL;
 
-	r = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	pc->mmio_base = devm_ioremap_resource(&pdev->dev, r);
+	pc->mmio_base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(pc->mmio_base))
 		return PTR_ERR(pc->mmio_base);
 
-- 
2.17.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 19/32] pwm: puv3: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
                   ` (16 preceding siblings ...)
  2019-12-29  8:05 ` [PATCH 18/32] pwm: tiehrpwm: " Yangtao Li
@ 2019-12-29  8:05 ` Yangtao Li
  2020-05-23 17:19   ` Uwe Kleine-König
  2019-12-29  8:05 ` [PATCH 20/32] pwm: imx: " Yangtao Li
                   ` (13 subsequent siblings)
  31 siblings, 1 reply; 69+ messages in thread
From: Yangtao Li @ 2019-12-29  8:05 UTC (permalink / raw)
  To: claudiu.beznea, thierry.reding, u.kleine-koenig, nicolas.ferre,
	alexandre.belloni, ludovic.desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra
  Cc: Yangtao Li

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pwm/pwm-puv3.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/pwm/pwm-puv3.c b/drivers/pwm/pwm-puv3.c
index 9d0bd87a425e..2367dad7cf95 100644
--- a/drivers/pwm/pwm-puv3.c
+++ b/drivers/pwm/pwm-puv3.c
@@ -100,7 +100,6 @@ static const struct pwm_ops puv3_pwm_ops = {
 static int pwm_probe(struct platform_device *pdev)
 {
 	struct puv3_pwm_chip *puv3;
-	struct resource *r;
 	int ret;
 
 	puv3 = devm_kzalloc(&pdev->dev, sizeof(*puv3), GFP_KERNEL);
@@ -111,8 +110,7 @@ static int pwm_probe(struct platform_device *pdev)
 	if (IS_ERR(puv3->clk))
 		return PTR_ERR(puv3->clk);
 
-	r = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	puv3->base = devm_ioremap_resource(&pdev->dev, r);
+	puv3->base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(puv3->base))
 		return PTR_ERR(puv3->base);
 
-- 
2.17.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 20/32] pwm: imx: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
                   ` (17 preceding siblings ...)
  2019-12-29  8:05 ` [PATCH 19/32] pwm: puv3: " Yangtao Li
@ 2019-12-29  8:05 ` Yangtao Li
  2020-05-23 17:22   ` Uwe Kleine-König
  2019-12-29  8:05 ` [PATCH 21/32] pwm: tiecap: " Yangtao Li
                   ` (12 subsequent siblings)
  31 siblings, 1 reply; 69+ messages in thread
From: Yangtao Li @ 2019-12-29  8:05 UTC (permalink / raw)
  To: claudiu.beznea, thierry.reding, u.kleine-koenig, nicolas.ferre,
	alexandre.belloni, ludovic.desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra
  Cc: Yangtao Li

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pwm/pwm-imx1.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/pwm/pwm-imx1.c b/drivers/pwm/pwm-imx1.c
index f8b2c2e001a7..1a60bfd7d659 100644
--- a/drivers/pwm/pwm-imx1.c
+++ b/drivers/pwm/pwm-imx1.c
@@ -136,7 +136,6 @@ MODULE_DEVICE_TABLE(of, pwm_imx1_dt_ids);
 static int pwm_imx1_probe(struct platform_device *pdev)
 {
 	struct pwm_imx1_chip *imx;
-	struct resource *r;
 
 	imx = devm_kzalloc(&pdev->dev, sizeof(*imx), GFP_KERNEL);
 	if (!imx)
@@ -168,8 +167,7 @@ static int pwm_imx1_probe(struct platform_device *pdev)
 	imx->chip.base = -1;
 	imx->chip.npwm = 1;
 
-	r = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	imx->mmio_base = devm_ioremap_resource(&pdev->dev, r);
+	imx->mmio_base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(imx->mmio_base))
 		return PTR_ERR(imx->mmio_base);
 
-- 
2.17.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 21/32] pwm: tiecap: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
                   ` (18 preceding siblings ...)
  2019-12-29  8:05 ` [PATCH 20/32] pwm: imx: " Yangtao Li
@ 2019-12-29  8:05 ` Yangtao Li
  2020-05-23 17:19   ` Uwe Kleine-König
  2019-12-29  8:06 ` [PATCH 22/32] pwm: bcm2835: " Yangtao Li
                   ` (11 subsequent siblings)
  31 siblings, 1 reply; 69+ messages in thread
From: Yangtao Li @ 2019-12-29  8:05 UTC (permalink / raw)
  To: claudiu.beznea, thierry.reding, u.kleine-koenig, nicolas.ferre,
	alexandre.belloni, ludovic.desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra
  Cc: Yangtao Li

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pwm/pwm-tiecap.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/pwm/pwm-tiecap.c b/drivers/pwm/pwm-tiecap.c
index ab38c8203b79..3a9885cce386 100644
--- a/drivers/pwm/pwm-tiecap.c
+++ b/drivers/pwm/pwm-tiecap.c
@@ -196,7 +196,6 @@ static int ecap_pwm_probe(struct platform_device *pdev)
 {
 	struct device_node *np = pdev->dev.of_node;
 	struct ecap_pwm_chip *pc;
-	struct resource *r;
 	struct clk *clk;
 	int ret;
 
@@ -230,8 +229,7 @@ static int ecap_pwm_probe(struct platform_device *pdev)
 	pc->chip.base = -1;
 	pc->chip.npwm = 1;
 
-	r = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	pc->mmio_base = devm_ioremap_resource(&pdev->dev, r);
+	pc->mmio_base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(pc->mmio_base))
 		return PTR_ERR(pc->mmio_base);
 
-- 
2.17.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 22/32] pwm: bcm2835: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
                   ` (19 preceding siblings ...)
  2019-12-29  8:05 ` [PATCH 21/32] pwm: tiecap: " Yangtao Li
@ 2019-12-29  8:06 ` Yangtao Li
  2020-05-23 17:18   ` Uwe Kleine-König
  2019-12-29  8:06 ` [PATCH 23/32] pwm: berlin: " Yangtao Li
                   ` (10 subsequent siblings)
  31 siblings, 1 reply; 69+ messages in thread
From: Yangtao Li @ 2019-12-29  8:06 UTC (permalink / raw)
  To: claudiu.beznea, thierry.reding, u.kleine-koenig, nicolas.ferre,
	alexandre.belloni, ludovic.desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra
  Cc: Yangtao Li

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pwm/pwm-bcm2835.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/pwm/pwm-bcm2835.c b/drivers/pwm/pwm-bcm2835.c
index 91e24f01b54e..9923cd2f069e 100644
--- a/drivers/pwm/pwm-bcm2835.c
+++ b/drivers/pwm/pwm-bcm2835.c
@@ -137,7 +137,6 @@ static const struct pwm_ops bcm2835_pwm_ops = {
 static int bcm2835_pwm_probe(struct platform_device *pdev)
 {
 	struct bcm2835_pwm *pc;
-	struct resource *res;
 	int ret;
 
 	pc = devm_kzalloc(&pdev->dev, sizeof(*pc), GFP_KERNEL);
@@ -146,8 +145,7 @@ static int bcm2835_pwm_probe(struct platform_device *pdev)
 
 	pc->dev = &pdev->dev;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	pc->base = devm_ioremap_resource(&pdev->dev, res);
+	pc->base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(pc->base))
 		return PTR_ERR(pc->base);
 
-- 
2.17.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 23/32] pwm: berlin: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
                   ` (20 preceding siblings ...)
  2019-12-29  8:06 ` [PATCH 22/32] pwm: bcm2835: " Yangtao Li
@ 2019-12-29  8:06 ` Yangtao Li
  2020-05-23 17:18   ` Uwe Kleine-König
  2019-12-29  8:06 ` [PATCH 24/32] pwm: vt8500: " Yangtao Li
                   ` (9 subsequent siblings)
  31 siblings, 1 reply; 69+ messages in thread
From: Yangtao Li @ 2019-12-29  8:06 UTC (permalink / raw)
  To: claudiu.beznea, thierry.reding, u.kleine-koenig, nicolas.ferre,
	alexandre.belloni, ludovic.desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra
  Cc: Yangtao Li

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pwm/pwm-berlin.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/pwm/pwm-berlin.c b/drivers/pwm/pwm-berlin.c
index b91c477cc84b..fe405289e582 100644
--- a/drivers/pwm/pwm-berlin.c
+++ b/drivers/pwm/pwm-berlin.c
@@ -186,15 +186,13 @@ MODULE_DEVICE_TABLE(of, berlin_pwm_match);
 static int berlin_pwm_probe(struct platform_device *pdev)
 {
 	struct berlin_pwm_chip *pwm;
-	struct resource *res;
 	int ret;
 
 	pwm = devm_kzalloc(&pdev->dev, sizeof(*pwm), GFP_KERNEL);
 	if (!pwm)
 		return -ENOMEM;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	pwm->base = devm_ioremap_resource(&pdev->dev, res);
+	pwm->base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(pwm->base))
 		return PTR_ERR(pwm->base);
 
-- 
2.17.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 24/32] pwm: vt8500: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
                   ` (21 preceding siblings ...)
  2019-12-29  8:06 ` [PATCH 23/32] pwm: berlin: " Yangtao Li
@ 2019-12-29  8:06 ` Yangtao Li
  2020-05-23 17:14   ` Uwe Kleine-König
  2019-12-29  8:06 ` [PATCH 25/32] pwm: brcmstb: " Yangtao Li
                   ` (8 subsequent siblings)
  31 siblings, 1 reply; 69+ messages in thread
From: Yangtao Li @ 2019-12-29  8:06 UTC (permalink / raw)
  To: claudiu.beznea, thierry.reding, u.kleine-koenig, nicolas.ferre,
	alexandre.belloni, ludovic.desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra
  Cc: Yangtao Li

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pwm/pwm-vt8500.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/pwm/pwm-vt8500.c b/drivers/pwm/pwm-vt8500.c
index 11d45e56a923..6e36851a22bb 100644
--- a/drivers/pwm/pwm-vt8500.c
+++ b/drivers/pwm/pwm-vt8500.c
@@ -193,7 +193,6 @@ MODULE_DEVICE_TABLE(of, vt8500_pwm_dt_ids);
 static int vt8500_pwm_probe(struct platform_device *pdev)
 {
 	struct vt8500_chip *chip;
-	struct resource *r;
 	struct device_node *np = pdev->dev.of_node;
 	int ret;
 
@@ -219,8 +218,7 @@ static int vt8500_pwm_probe(struct platform_device *pdev)
 		return PTR_ERR(chip->clk);
 	}
 
-	r = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	chip->base = devm_ioremap_resource(&pdev->dev, r);
+	chip->base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(chip->base))
 		return PTR_ERR(chip->base);
 
-- 
2.17.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 25/32] pwm: brcmstb: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
                   ` (22 preceding siblings ...)
  2019-12-29  8:06 ` [PATCH 24/32] pwm: vt8500: " Yangtao Li
@ 2019-12-29  8:06 ` Yangtao Li
  2020-01-07 10:54   ` Nicolas Saenz Julienne
  2020-05-23 17:25   ` Uwe Kleine-König
  2019-12-29  8:06 ` [PATCH 26/32] pwm: mtk-disp: " Yangtao Li
                   ` (7 subsequent siblings)
  31 siblings, 2 replies; 69+ messages in thread
From: Yangtao Li @ 2019-12-29  8:06 UTC (permalink / raw)
  To: claudiu.beznea, thierry.reding, u.kleine-koenig, nicolas.ferre,
	alexandre.belloni, ludovic.desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra
  Cc: Yangtao Li

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pwm/pwm-brcmstb.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/pwm/pwm-brcmstb.c b/drivers/pwm/pwm-brcmstb.c
index fea612c45f20..8b66f9d2f589 100644
--- a/drivers/pwm/pwm-brcmstb.c
+++ b/drivers/pwm/pwm-brcmstb.c
@@ -234,7 +234,6 @@ MODULE_DEVICE_TABLE(of, brcmstb_pwm_of_match);
 static int brcmstb_pwm_probe(struct platform_device *pdev)
 {
 	struct brcmstb_pwm *p;
-	struct resource *res;
 	int ret;
 
 	p = devm_kzalloc(&pdev->dev, sizeof(*p), GFP_KERNEL);
@@ -262,8 +261,7 @@ static int brcmstb_pwm_probe(struct platform_device *pdev)
 	p->chip.base = -1;
 	p->chip.npwm = 2;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	p->base = devm_ioremap_resource(&pdev->dev, res);
+	p->base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(p->base)) {
 		ret = PTR_ERR(p->base);
 		goto out_clk;
-- 
2.17.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 26/32] pwm: mtk-disp: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
                   ` (23 preceding siblings ...)
  2019-12-29  8:06 ` [PATCH 25/32] pwm: brcmstb: " Yangtao Li
@ 2019-12-29  8:06 ` Yangtao Li
  2020-02-20 20:49   ` Matthias Brugger
  2019-12-29  8:06 ` [PATCH 27/32] pwm: clps711x: " Yangtao Li
                   ` (6 subsequent siblings)
  31 siblings, 1 reply; 69+ messages in thread
From: Yangtao Li @ 2019-12-29  8:06 UTC (permalink / raw)
  To: claudiu.beznea, thierry.reding, u.kleine-koenig, nicolas.ferre,
	alexandre.belloni, ludovic.desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra
  Cc: Yangtao Li

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pwm/pwm-mtk-disp.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/pwm/pwm-mtk-disp.c b/drivers/pwm/pwm-mtk-disp.c
index 83b8be0209b7..87c6b4bc5d43 100644
--- a/drivers/pwm/pwm-mtk-disp.c
+++ b/drivers/pwm/pwm-mtk-disp.c
@@ -172,7 +172,6 @@ static const struct pwm_ops mtk_disp_pwm_ops = {
 static int mtk_disp_pwm_probe(struct platform_device *pdev)
 {
 	struct mtk_disp_pwm *mdp;
-	struct resource *r;
 	int ret;
 
 	mdp = devm_kzalloc(&pdev->dev, sizeof(*mdp), GFP_KERNEL);
@@ -181,8 +180,7 @@ static int mtk_disp_pwm_probe(struct platform_device *pdev)
 
 	mdp->data = of_device_get_match_data(&pdev->dev);
 
-	r = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	mdp->base = devm_ioremap_resource(&pdev->dev, r);
+	mdp->base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(mdp->base))
 		return PTR_ERR(mdp->base);
 
-- 
2.17.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 27/32] pwm: clps711x: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
                   ` (24 preceding siblings ...)
  2019-12-29  8:06 ` [PATCH 26/32] pwm: mtk-disp: " Yangtao Li
@ 2019-12-29  8:06 ` Yangtao Li
  2020-05-23 17:17   ` Uwe Kleine-König
  2019-12-29  8:06 ` [PATCH 28/32] pwm: img: " Yangtao Li
                   ` (5 subsequent siblings)
  31 siblings, 1 reply; 69+ messages in thread
From: Yangtao Li @ 2019-12-29  8:06 UTC (permalink / raw)
  To: claudiu.beznea, thierry.reding, u.kleine-koenig, nicolas.ferre,
	alexandre.belloni, ludovic.desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra
  Cc: Yangtao Li

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pwm/pwm-clps711x.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/pwm/pwm-clps711x.c b/drivers/pwm/pwm-clps711x.c
index 924d39a797cf..e69a5877cec6 100644
--- a/drivers/pwm/pwm-clps711x.c
+++ b/drivers/pwm/pwm-clps711x.c
@@ -113,14 +113,12 @@ static struct pwm_device *clps711x_pwm_xlate(struct pwm_chip *chip,
 static int clps711x_pwm_probe(struct platform_device *pdev)
 {
 	struct clps711x_chip *priv;
-	struct resource *res;
 
 	priv = devm_kzalloc(&pdev->dev, sizeof(*priv), GFP_KERNEL);
 	if (!priv)
 		return -ENOMEM;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	priv->pmpcon = devm_ioremap_resource(&pdev->dev, res);
+	priv->pmpcon = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(priv->pmpcon))
 		return PTR_ERR(priv->pmpcon);
 
-- 
2.17.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 28/32] pwm: img: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
                   ` (25 preceding siblings ...)
  2019-12-29  8:06 ` [PATCH 27/32] pwm: clps711x: " Yangtao Li
@ 2019-12-29  8:06 ` Yangtao Li
  2020-05-23 17:16   ` Uwe Kleine-König
  2019-12-29  8:06 ` [PATCH 29/32] pwm: lpc18xx-sct: " Yangtao Li
                   ` (4 subsequent siblings)
  31 siblings, 1 reply; 69+ messages in thread
From: Yangtao Li @ 2019-12-29  8:06 UTC (permalink / raw)
  To: claudiu.beznea, thierry.reding, u.kleine-koenig, nicolas.ferre,
	alexandre.belloni, ludovic.desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra
  Cc: Yangtao Li

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pwm/pwm-img.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/pwm/pwm-img.c b/drivers/pwm/pwm-img.c
index c9e57bd109fb..e9b25440b808 100644
--- a/drivers/pwm/pwm-img.c
+++ b/drivers/pwm/pwm-img.c
@@ -238,7 +238,6 @@ static int img_pwm_probe(struct platform_device *pdev)
 	int ret;
 	u64 val;
 	unsigned long clk_rate;
-	struct resource *res;
 	struct img_pwm_chip *pwm;
 	const struct of_device_id *of_dev_id;
 
@@ -248,8 +247,7 @@ static int img_pwm_probe(struct platform_device *pdev)
 
 	pwm->dev = &pdev->dev;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	pwm->base = devm_ioremap_resource(&pdev->dev, res);
+	pwm->base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(pwm->base))
 		return PTR_ERR(pwm->base);
 
-- 
2.17.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 29/32] pwm: lpc18xx-sct: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
                   ` (26 preceding siblings ...)
  2019-12-29  8:06 ` [PATCH 28/32] pwm: img: " Yangtao Li
@ 2019-12-29  8:06 ` Yangtao Li
  2020-05-23 17:14   ` Uwe Kleine-König
  2019-12-29  8:06 ` [PATCH 30/32] pwm: hibvt: do some cleanup Yangtao Li
                   ` (3 subsequent siblings)
  31 siblings, 1 reply; 69+ messages in thread
From: Yangtao Li @ 2019-12-29  8:06 UTC (permalink / raw)
  To: claudiu.beznea, thierry.reding, u.kleine-koenig, nicolas.ferre,
	alexandre.belloni, ludovic.desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra
  Cc: Yangtao Li

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pwm/pwm-lpc18xx-sct.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/pwm/pwm-lpc18xx-sct.c b/drivers/pwm/pwm-lpc18xx-sct.c
index 5ff11145c1a3..dc5133bec3e7 100644
--- a/drivers/pwm/pwm-lpc18xx-sct.c
+++ b/drivers/pwm/pwm-lpc18xx-sct.c
@@ -325,7 +325,6 @@ static int lpc18xx_pwm_probe(struct platform_device *pdev)
 {
 	struct lpc18xx_pwm_chip *lpc18xx_pwm;
 	struct pwm_device *pwm;
-	struct resource *res;
 	int ret, i;
 	u64 val;
 
@@ -336,8 +335,7 @@ static int lpc18xx_pwm_probe(struct platform_device *pdev)
 
 	lpc18xx_pwm->dev = &pdev->dev;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	lpc18xx_pwm->base = devm_ioremap_resource(&pdev->dev, res);
+	lpc18xx_pwm->base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(lpc18xx_pwm->base))
 		return PTR_ERR(lpc18xx_pwm->base);
 
-- 
2.17.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 30/32] pwm: hibvt: do some cleanup
  2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
                   ` (27 preceding siblings ...)
  2019-12-29  8:06 ` [PATCH 29/32] pwm: lpc18xx-sct: " Yangtao Li
@ 2019-12-29  8:06 ` Yangtao Li
  2020-02-20 20:41   ` Uwe Kleine-König
  2019-12-29  8:06 ` [PATCH 31/32] pwm: sifive: convert to devm_platform_ioremap_resource Yangtao Li
                   ` (2 subsequent siblings)
  31 siblings, 1 reply; 69+ messages in thread
From: Yangtao Li @ 2019-12-29  8:06 UTC (permalink / raw)
  To: claudiu.beznea, thierry.reding, u.kleine-koenig, nicolas.ferre,
	alexandre.belloni, ludovic.desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra
  Cc: Yangtao Li

Use devm_platform_ioremap_resource() to simplify code.
'i' and 'ret' are variables of the same type and there is no
need to use two lines.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pwm/pwm-hibvt.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/drivers/pwm/pwm-hibvt.c b/drivers/pwm/pwm-hibvt.c
index ad205fdad372..a1900d0a872e 100644
--- a/drivers/pwm/pwm-hibvt.c
+++ b/drivers/pwm/pwm-hibvt.c
@@ -190,9 +190,7 @@ static int hibvt_pwm_probe(struct platform_device *pdev)
 	const struct hibvt_pwm_soc *soc =
 				of_device_get_match_data(&pdev->dev);
 	struct hibvt_pwm_chip *pwm_chip;
-	struct resource *res;
-	int ret;
-	int i;
+	int ret, i;
 
 	pwm_chip = devm_kzalloc(&pdev->dev, sizeof(*pwm_chip), GFP_KERNEL);
 	if (pwm_chip == NULL)
@@ -213,8 +211,7 @@ static int hibvt_pwm_probe(struct platform_device *pdev)
 	pwm_chip->chip.of_pwm_n_cells = 3;
 	pwm_chip->soc = soc;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	pwm_chip->base = devm_ioremap_resource(&pdev->dev, res);
+	pwm_chip->base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(pwm_chip->base))
 		return PTR_ERR(pwm_chip->base);
 
-- 
2.17.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 31/32] pwm: sifive: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
                   ` (28 preceding siblings ...)
  2019-12-29  8:06 ` [PATCH 30/32] pwm: hibvt: do some cleanup Yangtao Li
@ 2019-12-29  8:06 ` Yangtao Li
  2020-05-23 17:15   ` Uwe Kleine-König
  2019-12-29  8:06 ` [PATCH 32/32] pwm: atmel: " Yangtao Li
  2020-05-23 17:11 ` [PATCH 01/32] pwm: sun4i: " Uwe Kleine-König
  31 siblings, 1 reply; 69+ messages in thread
From: Yangtao Li @ 2019-12-29  8:06 UTC (permalink / raw)
  To: claudiu.beznea, thierry.reding, u.kleine-koenig, nicolas.ferre,
	alexandre.belloni, ludovic.desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra
  Cc: Yangtao Li

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pwm/pwm-sifive.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/pwm/pwm-sifive.c b/drivers/pwm/pwm-sifive.c
index cc63f9baa481..cb9134d7197b 100644
--- a/drivers/pwm/pwm-sifive.c
+++ b/drivers/pwm/pwm-sifive.c
@@ -232,7 +232,6 @@ static int pwm_sifive_probe(struct platform_device *pdev)
 	struct device *dev = &pdev->dev;
 	struct pwm_sifive_ddata *ddata;
 	struct pwm_chip *chip;
-	struct resource *res;
 	int ret;
 
 	ddata = devm_kzalloc(dev, sizeof(*ddata), GFP_KERNEL);
@@ -248,8 +247,7 @@ static int pwm_sifive_probe(struct platform_device *pdev)
 	chip->base = -1;
 	chip->npwm = 4;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	ddata->regs = devm_ioremap_resource(dev, res);
+	ddata->regs = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(ddata->regs))
 		return PTR_ERR(ddata->regs);
 
-- 
2.17.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 32/32] pwm: atmel: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
                   ` (29 preceding siblings ...)
  2019-12-29  8:06 ` [PATCH 31/32] pwm: sifive: convert to devm_platform_ioremap_resource Yangtao Li
@ 2019-12-29  8:06 ` Yangtao Li
  2020-01-06 10:32   ` Claudiu.Beznea
  2020-05-23 17:25   ` Uwe Kleine-König
  2020-05-23 17:11 ` [PATCH 01/32] pwm: sun4i: " Uwe Kleine-König
  31 siblings, 2 replies; 69+ messages in thread
From: Yangtao Li @ 2019-12-29  8:06 UTC (permalink / raw)
  To: claudiu.beznea, thierry.reding, u.kleine-koenig, nicolas.ferre,
	alexandre.belloni, ludovic.desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra
  Cc: Yangtao Li

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pwm/pwm-atmel.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/pwm/pwm-atmel.c b/drivers/pwm/pwm-atmel.c
index 9ba733467e26..86cc5ccaa46c 100644
--- a/drivers/pwm/pwm-atmel.c
+++ b/drivers/pwm/pwm-atmel.c
@@ -340,7 +340,6 @@ MODULE_DEVICE_TABLE(of, atmel_pwm_dt_ids);
 static int atmel_pwm_probe(struct platform_device *pdev)
 {
 	struct atmel_pwm_chip *atmel_pwm;
-	struct resource *res;
 	int ret;
 
 	atmel_pwm = devm_kzalloc(&pdev->dev, sizeof(*atmel_pwm), GFP_KERNEL);
@@ -351,8 +350,7 @@ static int atmel_pwm_probe(struct platform_device *pdev)
 	atmel_pwm->data = of_device_get_match_data(&pdev->dev);
 	atmel_pwm->updated_pwms = 0;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	atmel_pwm->base = devm_ioremap_resource(&pdev->dev, res);
+	atmel_pwm->base = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(atmel_pwm->base))
 		return PTR_ERR(atmel_pwm->base);
 
-- 
2.17.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 15/32] pwm: rockchip: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 ` [PATCH 15/32] pwm: rockchip: " Yangtao Li
@ 2019-12-30  8:39   ` Heiko Stuebner
  2020-05-23 17:25   ` Uwe Kleine-König
  1 sibling, 0 replies; 69+ messages in thread
From: Heiko Stuebner @ 2019-12-30  8:39 UTC (permalink / raw)
  To: Yangtao Li
  Cc: alexandre.belloni, linux-kernel, linux-tegra, thierry.reding,
	linux-riscv, festevam, f.fainelli, shc_work, khilman, wens,
	jonathanh, linux-rockchip, ludovic.desroches,
	bcm-kernel-feedback-list, linux-imx, slemieux.tyco, linux-pwm,
	rjui, s.hauer, u.kleine-koenig, mripard, vz, linux-mediatek,
	linux-rpi-kernel, paul.walmsley, matthias.bgg, linux-amlogic,
	linux-arm-kernel, sbranden, nicolas.ferre, linux, palmer, kernel,
	shawnguo, claudiu.beznea, nsaenzjulienne

Am Sonntag, 29. Dezember 2019, 09:05:53 CET schrieb Yangtao Li:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Reviewed-by: Heiko Stuebner <heiko@sntech.de>


> ---
>  drivers/pwm/pwm-rockchip.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/drivers/pwm/pwm-rockchip.c b/drivers/pwm/pwm-rockchip.c
> index 73352e6fbccb..f0549b82338d 100644
> --- a/drivers/pwm/pwm-rockchip.c
> +++ b/drivers/pwm/pwm-rockchip.c
> @@ -292,7 +292,6 @@ static int rockchip_pwm_probe(struct platform_device *pdev)
>  {
>  	const struct of_device_id *id;
>  	struct rockchip_pwm_chip *pc;
> -	struct resource *r;
>  	int ret, count;
>  
>  	id = of_match_device(rockchip_pwm_dt_ids, &pdev->dev);
> @@ -303,8 +302,7 @@ static int rockchip_pwm_probe(struct platform_device *pdev)
>  	if (!pc)
>  		return -ENOMEM;
>  
> -	r = platform_get_resource(pdev, IORESOURCE_MEM, 0);
> -	pc->base = devm_ioremap_resource(&pdev->dev, r);
> +	pc->base = devm_platform_ioremap_resource(pdev, 0);
>  	if (IS_ERR(pc->base))
>  		return PTR_ERR(pc->base);
>  
> 





_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 14/32] pwm: meson: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 ` [PATCH 14/32] pwm: meson: " Yangtao Li
@ 2019-12-31 14:53   ` Martin Blumenstingl
  2020-05-23 17:25   ` Uwe Kleine-König
  1 sibling, 0 replies; 69+ messages in thread
From: Martin Blumenstingl @ 2019-12-31 14:53 UTC (permalink / raw)
  To: Yangtao Li
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra,
	thierry.reding, linux-riscv, Fabio Estevam, f.fainelli, shc_work,
	khilman, wens, jonathanh, linux-rockchip, ludovic.desroches,
	bcm-kernel-feedback-list, linux-imx, slemieux.tyco, linux-pwm,
	rjui, s.hauer, u.kleine-koenig, mripard, vz, linux-mediatek,
	linux-rpi-kernel, paul.walmsley, matthias.bgg, linux-amlogic,
	linux-arm-kernel, sbranden, nicolas.ferre, linux, palmer, kernel,
	shawnguo, claudiu.beznea, nsaenzjulienne

On Sun, Dec 29, 2019 at 9:16 AM Yangtao Li <tiny.windzz@gmail.com> wrote:
>
> Use devm_platform_ioremap_resource() to simplify code.
>
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

thank you for taking care of this cleanup!


Martin

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 32/32] pwm: atmel: convert to devm_platform_ioremap_resource
  2019-12-29  8:06 ` [PATCH 32/32] pwm: atmel: " Yangtao Li
@ 2020-01-06 10:32   ` Claudiu.Beznea
  2020-05-23 17:25   ` Uwe Kleine-König
  1 sibling, 0 replies; 69+ messages in thread
From: Claudiu.Beznea @ 2020-01-06 10:32 UTC (permalink / raw)
  To: tiny.windzz, thierry.reding, u.kleine-koenig, Nicolas.Ferre,
	alexandre.belloni, Ludovic.Desroches, rjui, sbranden,
	bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra



On 29.12.2019 10:06, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Acked-by: Claudiu Beznea <claudiu.beznea@microchip.com>

> ---
>  drivers/pwm/pwm-atmel.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/drivers/pwm/pwm-atmel.c b/drivers/pwm/pwm-atmel.c
> index 9ba733467e26..86cc5ccaa46c 100644
> --- a/drivers/pwm/pwm-atmel.c
> +++ b/drivers/pwm/pwm-atmel.c
> @@ -340,7 +340,6 @@ MODULE_DEVICE_TABLE(of, atmel_pwm_dt_ids);
>  static int atmel_pwm_probe(struct platform_device *pdev)
>  {
>         struct atmel_pwm_chip *atmel_pwm;
> -       struct resource *res;
>         int ret;
> 
>         atmel_pwm = devm_kzalloc(&pdev->dev, sizeof(*atmel_pwm), GFP_KERNEL);
> @@ -351,8 +350,7 @@ static int atmel_pwm_probe(struct platform_device *pdev)
>         atmel_pwm->data = of_device_get_match_data(&pdev->dev);
>         atmel_pwm->updated_pwms = 0;
> 
> -       res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
> -       atmel_pwm->base = devm_ioremap_resource(&pdev->dev, res);
> +       atmel_pwm->base = devm_platform_ioremap_resource(pdev, 0);
>         if (IS_ERR(atmel_pwm->base))
>                 return PTR_ERR(atmel_pwm->base);
> 
> --
> 2.17.1
> 
> 
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 25/32] pwm: brcmstb: convert to devm_platform_ioremap_resource
  2019-12-29  8:06 ` [PATCH 25/32] pwm: brcmstb: " Yangtao Li
@ 2020-01-07 10:54   ` Nicolas Saenz Julienne
  2020-05-23 17:25   ` Uwe Kleine-König
  1 sibling, 0 replies; 69+ messages in thread
From: Nicolas Saenz Julienne @ 2020-01-07 10:54 UTC (permalink / raw)
  To: Yangtao Li, claudiu.beznea, thierry.reding, u.kleine-koenig,
	nicolas.ferre, alexandre.belloni, ludovic.desroches, rjui,
	sbranden, bcm-kernel-feedback-list, f.fainelli, shc_work,
	shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, matthias.bgg, heiko, palmer,
	paul.walmsley, mripard, wens, jonathanh, linux, linux-arm-kernel,
	linux-pwm, linux-kernel, linux-rpi-kernel, linux-amlogic,
	linux-mediatek, linux-rockchip, linux-riscv, linux-tegra

[-- Attachment #1.1: Type: text/plain, Size: 1186 bytes --]

On Sun, 2019-12-29 at 08:06 +0000, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
> ---

Reviewed-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>

Thanks!

>  drivers/pwm/pwm-brcmstb.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/drivers/pwm/pwm-brcmstb.c b/drivers/pwm/pwm-brcmstb.c
> index fea612c45f20..8b66f9d2f589 100644
> --- a/drivers/pwm/pwm-brcmstb.c
> +++ b/drivers/pwm/pwm-brcmstb.c
> @@ -234,7 +234,6 @@ MODULE_DEVICE_TABLE(of, brcmstb_pwm_of_match);
>  static int brcmstb_pwm_probe(struct platform_device *pdev)
>  {
>  	struct brcmstb_pwm *p;
> -	struct resource *res;
>  	int ret;
>  
>  	p = devm_kzalloc(&pdev->dev, sizeof(*p), GFP_KERNEL);
> @@ -262,8 +261,7 @@ static int brcmstb_pwm_probe(struct platform_device *pdev)
>  	p->chip.base = -1;
>  	p->chip.npwm = 2;
>  
> -	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
> -	p->base = devm_ioremap_resource(&pdev->dev, res);
> +	p->base = devm_platform_ioremap_resource(pdev, 0);
>  	if (IS_ERR(p->base)) {
>  		ret = PTR_ERR(p->base);
>  		goto out_clk;


[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 167 bytes --]

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 30/32] pwm: hibvt: do some cleanup
  2019-12-29  8:06 ` [PATCH 30/32] pwm: hibvt: do some cleanup Yangtao Li
@ 2020-02-20 20:41   ` Uwe Kleine-König
  2020-05-23 17:44     ` Uwe Kleine-König
  0 siblings, 1 reply; 69+ messages in thread
From: Uwe Kleine-König @ 2020-02-20 20:41 UTC (permalink / raw)
  To: Yangtao Li, thierry.reding
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra, linux-riscv,
	festevam, f.fainelli, shc_work, khilman, wens, jonathanh,
	linux-rockchip, ludovic.desroches, bcm-kernel-feedback-list,
	linux-imx, slemieux.tyco, linux-pwm, rjui, s.hauer, mripard, vz,
	linux-mediatek, linux-rpi-kernel, paul.walmsley, matthias.bgg,
	linux-amlogic, linux-arm-kernel, sbranden, nicolas.ferre, linux,
	palmer, kernel, shawnguo, claudiu.beznea, nsaenzjulienne

On Sun, Dec 29, 2019 at 08:06:08AM +0000, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 'i' and 'ret' are variables of the same type and there is no
> need to use two lines.

I think I wouldn't have merged these two lines, but I don't feel strong
here. The other 31 patches are clean replacements.

But I also don't think respining just for this minor thing is worth the
effort, so:

Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

for the whole series. (Not sure it is sensible to ack each patch
individually, @Thierry, tell me if this simplifies things for you.)

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 26/32] pwm: mtk-disp: convert to devm_platform_ioremap_resource
  2019-12-29  8:06 ` [PATCH 26/32] pwm: mtk-disp: " Yangtao Li
@ 2020-02-20 20:49   ` Matthias Brugger
  0 siblings, 0 replies; 69+ messages in thread
From: Matthias Brugger @ 2020-02-20 20:49 UTC (permalink / raw)
  To: Yangtao Li, claudiu.beznea, thierry.reding, u.kleine-koenig,
	nicolas.ferre, alexandre.belloni, ludovic.desroches, rjui,
	sbranden, bcm-kernel-feedback-list, f.fainelli, nsaenzjulienne,
	shc_work, shawnguo, s.hauer, kernel, festevam, linux-imx, vz,
	slemieux.tyco, khilman, heiko, palmer, paul.walmsley, mripard,
	wens, jonathanh, linux, linux-arm-kernel, linux-pwm,
	linux-kernel, linux-rpi-kernel, linux-amlogic, linux-mediatek,
	linux-rockchip, linux-riscv, linux-tegra



On 29/12/2019 09:06, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>

> ---
>  drivers/pwm/pwm-mtk-disp.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/drivers/pwm/pwm-mtk-disp.c b/drivers/pwm/pwm-mtk-disp.c
> index 83b8be0209b7..87c6b4bc5d43 100644
> --- a/drivers/pwm/pwm-mtk-disp.c
> +++ b/drivers/pwm/pwm-mtk-disp.c
> @@ -172,7 +172,6 @@ static const struct pwm_ops mtk_disp_pwm_ops = {
>  static int mtk_disp_pwm_probe(struct platform_device *pdev)
>  {
>  	struct mtk_disp_pwm *mdp;
> -	struct resource *r;
>  	int ret;
>  
>  	mdp = devm_kzalloc(&pdev->dev, sizeof(*mdp), GFP_KERNEL);
> @@ -181,8 +180,7 @@ static int mtk_disp_pwm_probe(struct platform_device *pdev)
>  
>  	mdp->data = of_device_get_match_data(&pdev->dev);
>  
> -	r = platform_get_resource(pdev, IORESOURCE_MEM, 0);
> -	mdp->base = devm_ioremap_resource(&pdev->dev, r);
> +	mdp->base = devm_platform_ioremap_resource(pdev, 0);
>  	if (IS_ERR(mdp->base))
>  		return PTR_ERR(mdp->base);
>  
> 

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
                   ` (30 preceding siblings ...)
  2019-12-29  8:06 ` [PATCH 32/32] pwm: atmel: " Yangtao Li
@ 2020-05-23 17:11 ` Uwe Kleine-König
  31 siblings, 0 replies; 69+ messages in thread
From: Uwe Kleine-König @ 2020-05-23 17:11 UTC (permalink / raw)
  To: Yangtao Li
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra,
	thierry.reding, linux-riscv, festevam, f.fainelli, shc_work,
	khilman, wens, jonathanh, linux-rockchip, ludovic.desroches,
	bcm-kernel-feedback-list, linux-imx, slemieux.tyco, linux-pwm,
	rjui, s.hauer, mripard, vz, linux-mediatek, linux-rpi-kernel,
	paul.walmsley, matthias.bgg, linux-amlogic, linux-arm-kernel,
	sbranden, nicolas.ferre, linux, palmer, kernel, shawnguo,
	claudiu.beznea, nsaenzjulienne

On Sun, Dec 29, 2019 at 08:05:39AM +0000, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>


-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 04/32] pwm: renesas-tpu: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 ` [PATCH 04/32] pwm: renesas-tpu: " Yangtao Li
@ 2020-05-23 17:12   ` Uwe Kleine-König
  0 siblings, 0 replies; 69+ messages in thread
From: Uwe Kleine-König @ 2020-05-23 17:12 UTC (permalink / raw)
  To: Yangtao Li
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra,
	thierry.reding, linux-riscv, festevam, f.fainelli, shc_work,
	khilman, wens, jonathanh, linux-rockchip, ludovic.desroches,
	bcm-kernel-feedback-list, linux-imx, slemieux.tyco, linux-pwm,
	rjui, s.hauer, mripard, vz, linux-mediatek, linux-rpi-kernel,
	paul.walmsley, matthias.bgg, linux-amlogic, linux-arm-kernel,
	sbranden, nicolas.ferre, linux, palmer, kernel, shawnguo,
	claudiu.beznea, nsaenzjulienne

On Sun, Dec 29, 2019 at 08:05:42AM +0000, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 24/32] pwm: vt8500: convert to devm_platform_ioremap_resource
  2019-12-29  8:06 ` [PATCH 24/32] pwm: vt8500: " Yangtao Li
@ 2020-05-23 17:14   ` Uwe Kleine-König
  0 siblings, 0 replies; 69+ messages in thread
From: Uwe Kleine-König @ 2020-05-23 17:14 UTC (permalink / raw)
  To: Yangtao Li
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra,
	thierry.reding, linux-riscv, festevam, f.fainelli, shc_work,
	khilman, wens, jonathanh, linux-rockchip, ludovic.desroches,
	bcm-kernel-feedback-list, linux-imx, slemieux.tyco, linux-pwm,
	rjui, s.hauer, mripard, vz, linux-mediatek, linux-rpi-kernel,
	paul.walmsley, matthias.bgg, linux-amlogic, linux-arm-kernel,
	sbranden, nicolas.ferre, linux, palmer, kernel, shawnguo,
	claudiu.beznea, nsaenzjulienne

On Sun, Dec 29, 2019 at 08:06:02AM +0000, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 29/32] pwm: lpc18xx-sct: convert to devm_platform_ioremap_resource
  2019-12-29  8:06 ` [PATCH 29/32] pwm: lpc18xx-sct: " Yangtao Li
@ 2020-05-23 17:14   ` Uwe Kleine-König
  0 siblings, 0 replies; 69+ messages in thread
From: Uwe Kleine-König @ 2020-05-23 17:14 UTC (permalink / raw)
  To: Yangtao Li
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra,
	thierry.reding, linux-riscv, festevam, f.fainelli, shc_work,
	khilman, wens, jonathanh, linux-rockchip, ludovic.desroches,
	bcm-kernel-feedback-list, linux-imx, slemieux.tyco, linux-pwm,
	rjui, s.hauer, mripard, vz, linux-mediatek, linux-rpi-kernel,
	paul.walmsley, matthias.bgg, linux-amlogic, linux-arm-kernel,
	sbranden, nicolas.ferre, linux, palmer, kernel, shawnguo,
	claudiu.beznea, nsaenzjulienne

Hello,

On Sun, Dec 29, 2019 at 08:06:07AM +0000, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 31/32] pwm: sifive: convert to devm_platform_ioremap_resource
  2019-12-29  8:06 ` [PATCH 31/32] pwm: sifive: convert to devm_platform_ioremap_resource Yangtao Li
@ 2020-05-23 17:15   ` Uwe Kleine-König
  0 siblings, 0 replies; 69+ messages in thread
From: Uwe Kleine-König @ 2020-05-23 17:15 UTC (permalink / raw)
  To: Yangtao Li
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra,
	thierry.reding, linux-riscv, festevam, f.fainelli, shc_work,
	khilman, wens, jonathanh, linux-rockchip, ludovic.desroches,
	bcm-kernel-feedback-list, linux-imx, slemieux.tyco, linux-pwm,
	rjui, s.hauer, mripard, vz, linux-mediatek, linux-rpi-kernel,
	paul.walmsley, matthias.bgg, linux-amlogic, linux-arm-kernel,
	sbranden, nicolas.ferre, linux, palmer, kernel, shawnguo,
	claudiu.beznea, nsaenzjulienne

Hello,

On Sun, Dec 29, 2019 at 08:06:09AM +0000, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 28/32] pwm: img: convert to devm_platform_ioremap_resource
  2019-12-29  8:06 ` [PATCH 28/32] pwm: img: " Yangtao Li
@ 2020-05-23 17:16   ` Uwe Kleine-König
  0 siblings, 0 replies; 69+ messages in thread
From: Uwe Kleine-König @ 2020-05-23 17:16 UTC (permalink / raw)
  To: Yangtao Li
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra,
	thierry.reding, linux-riscv, festevam, f.fainelli, shc_work,
	khilman, wens, jonathanh, linux-rockchip, ludovic.desroches,
	bcm-kernel-feedback-list, linux-imx, slemieux.tyco, linux-pwm,
	rjui, s.hauer, mripard, vz, linux-mediatek, linux-rpi-kernel,
	paul.walmsley, matthias.bgg, linux-amlogic, linux-arm-kernel,
	sbranden, nicolas.ferre, linux, palmer, kernel, shawnguo,
	claudiu.beznea, nsaenzjulienne

Hello,

On Sun, Dec 29, 2019 at 08:06:06AM +0000, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 27/32] pwm: clps711x: convert to devm_platform_ioremap_resource
  2019-12-29  8:06 ` [PATCH 27/32] pwm: clps711x: " Yangtao Li
@ 2020-05-23 17:17   ` Uwe Kleine-König
  0 siblings, 0 replies; 69+ messages in thread
From: Uwe Kleine-König @ 2020-05-23 17:17 UTC (permalink / raw)
  To: Yangtao Li
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra,
	thierry.reding, linux-riscv, festevam, f.fainelli, shc_work,
	khilman, wens, jonathanh, linux-rockchip, ludovic.desroches,
	bcm-kernel-feedback-list, linux-imx, slemieux.tyco, linux-pwm,
	rjui, s.hauer, mripard, vz, linux-mediatek, linux-rpi-kernel,
	paul.walmsley, matthias.bgg, linux-amlogic, linux-arm-kernel,
	sbranden, nicolas.ferre, linux, palmer, kernel, shawnguo,
	claudiu.beznea, nsaenzjulienne

Hello,

On Sun, Dec 29, 2019 at 08:06:05AM +0000, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 23/32] pwm: berlin: convert to devm_platform_ioremap_resource
  2019-12-29  8:06 ` [PATCH 23/32] pwm: berlin: " Yangtao Li
@ 2020-05-23 17:18   ` Uwe Kleine-König
  0 siblings, 0 replies; 69+ messages in thread
From: Uwe Kleine-König @ 2020-05-23 17:18 UTC (permalink / raw)
  To: Yangtao Li
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra,
	thierry.reding, linux-riscv, festevam, f.fainelli, shc_work,
	khilman, wens, jonathanh, linux-rockchip, ludovic.desroches,
	bcm-kernel-feedback-list, linux-imx, slemieux.tyco, linux-pwm,
	rjui, s.hauer, mripard, vz, linux-mediatek, linux-rpi-kernel,
	paul.walmsley, matthias.bgg, linux-amlogic, linux-arm-kernel,
	sbranden, nicolas.ferre, linux, palmer, kernel, shawnguo,
	claudiu.beznea, nsaenzjulienne

Hello,

On Sun, Dec 29, 2019 at 08:06:01AM +0000, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 22/32] pwm: bcm2835: convert to devm_platform_ioremap_resource
  2019-12-29  8:06 ` [PATCH 22/32] pwm: bcm2835: " Yangtao Li
@ 2020-05-23 17:18   ` Uwe Kleine-König
  0 siblings, 0 replies; 69+ messages in thread
From: Uwe Kleine-König @ 2020-05-23 17:18 UTC (permalink / raw)
  To: Yangtao Li
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra,
	thierry.reding, linux-riscv, festevam, f.fainelli, shc_work,
	khilman, wens, jonathanh, linux-rockchip, ludovic.desroches,
	bcm-kernel-feedback-list, linux-imx, slemieux.tyco, linux-pwm,
	rjui, s.hauer, mripard, vz, linux-mediatek, linux-rpi-kernel,
	paul.walmsley, matthias.bgg, linux-amlogic, linux-arm-kernel,
	sbranden, nicolas.ferre, linux, palmer, kernel, shawnguo,
	claudiu.beznea, nsaenzjulienne

Hello,

On Sun, Dec 29, 2019 at 08:06:00AM +0000, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 21/32] pwm: tiecap: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 ` [PATCH 21/32] pwm: tiecap: " Yangtao Li
@ 2020-05-23 17:19   ` Uwe Kleine-König
  0 siblings, 0 replies; 69+ messages in thread
From: Uwe Kleine-König @ 2020-05-23 17:19 UTC (permalink / raw)
  To: Yangtao Li
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra,
	thierry.reding, linux-riscv, festevam, f.fainelli, shc_work,
	khilman, wens, jonathanh, linux-rockchip, ludovic.desroches,
	bcm-kernel-feedback-list, linux-imx, slemieux.tyco, linux-pwm,
	rjui, s.hauer, mripard, vz, linux-mediatek, linux-rpi-kernel,
	paul.walmsley, matthias.bgg, linux-amlogic, linux-arm-kernel,
	sbranden, nicolas.ferre, linux, palmer, kernel, shawnguo,
	claudiu.beznea, nsaenzjulienne

Hello,

On Sun, Dec 29, 2019 at 08:05:59AM +0000, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 19/32] pwm: puv3: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 ` [PATCH 19/32] pwm: puv3: " Yangtao Li
@ 2020-05-23 17:19   ` Uwe Kleine-König
  0 siblings, 0 replies; 69+ messages in thread
From: Uwe Kleine-König @ 2020-05-23 17:19 UTC (permalink / raw)
  To: Yangtao Li
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra,
	thierry.reding, linux-riscv, festevam, f.fainelli, shc_work,
	khilman, wens, jonathanh, linux-rockchip, ludovic.desroches,
	bcm-kernel-feedback-list, linux-imx, slemieux.tyco, linux-pwm,
	rjui, s.hauer, mripard, vz, linux-mediatek, linux-rpi-kernel,
	paul.walmsley, matthias.bgg, linux-amlogic, linux-arm-kernel,
	sbranden, nicolas.ferre, linux, palmer, kernel, shawnguo,
	claudiu.beznea, nsaenzjulienne

Hello,

On Sun, Dec 29, 2019 at 08:05:57AM +0000, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 09/32] pwm: pxa: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 ` [PATCH 09/32] pwm: pxa: " Yangtao Li
@ 2020-05-23 17:20   ` Uwe Kleine-König
  0 siblings, 0 replies; 69+ messages in thread
From: Uwe Kleine-König @ 2020-05-23 17:20 UTC (permalink / raw)
  To: Yangtao Li
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra,
	thierry.reding, linux-riscv, festevam, f.fainelli, shc_work,
	khilman, wens, jonathanh, linux-rockchip, ludovic.desroches,
	bcm-kernel-feedback-list, linux-imx, slemieux.tyco, linux-pwm,
	rjui, s.hauer, mripard, vz, linux-mediatek, linux-rpi-kernel,
	paul.walmsley, matthias.bgg, linux-amlogic, linux-arm-kernel,
	sbranden, nicolas.ferre, linux, palmer, kernel, shawnguo,
	claudiu.beznea, nsaenzjulienne

Hello,

On Sun, Dec 29, 2019 at 08:05:47AM +0000, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 13/32] pwm: lpc32xx: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 ` [PATCH 13/32] pwm: lpc32xx: " Yangtao Li
@ 2020-05-23 17:20   ` Uwe Kleine-König
  0 siblings, 0 replies; 69+ messages in thread
From: Uwe Kleine-König @ 2020-05-23 17:20 UTC (permalink / raw)
  To: Yangtao Li
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra,
	thierry.reding, linux-riscv, festevam, f.fainelli, shc_work,
	khilman, wens, jonathanh, linux-rockchip, ludovic.desroches,
	bcm-kernel-feedback-list, linux-imx, slemieux.tyco, linux-pwm,
	rjui, s.hauer, mripard, vz, linux-mediatek, linux-rpi-kernel,
	paul.walmsley, matthias.bgg, linux-amlogic, linux-arm-kernel,
	sbranden, nicolas.ferre, linux, palmer, kernel, shawnguo,
	claudiu.beznea, nsaenzjulienne

Hello,

On Sun, Dec 29, 2019 at 08:05:51AM +0000, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 12/32] pwm: bcm-kona: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 ` [PATCH 12/32] pwm: bcm-kona: " Yangtao Li
@ 2020-05-23 17:20   ` Uwe Kleine-König
  0 siblings, 0 replies; 69+ messages in thread
From: Uwe Kleine-König @ 2020-05-23 17:20 UTC (permalink / raw)
  To: Yangtao Li
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra,
	thierry.reding, linux-riscv, festevam, f.fainelli, shc_work,
	khilman, wens, jonathanh, linux-rockchip, ludovic.desroches,
	bcm-kernel-feedback-list, linux-imx, slemieux.tyco, linux-pwm,
	rjui, s.hauer, mripard, vz, linux-mediatek, linux-rpi-kernel,
	paul.walmsley, matthias.bgg, linux-amlogic, linux-arm-kernel,
	sbranden, nicolas.ferre, linux, palmer, kernel, shawnguo,
	claudiu.beznea, nsaenzjulienne

Hello,

On Sun, Dec 29, 2019 at 08:05:50AM +0000, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 17/32] pwm: samsung: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 ` [PATCH 17/32] pwm: samsung: " Yangtao Li
@ 2020-05-23 17:21   ` Uwe Kleine-König
  0 siblings, 0 replies; 69+ messages in thread
From: Uwe Kleine-König @ 2020-05-23 17:21 UTC (permalink / raw)
  To: Yangtao Li
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra,
	thierry.reding, linux-riscv, festevam, f.fainelli, shc_work,
	khilman, wens, jonathanh, linux-rockchip, ludovic.desroches,
	bcm-kernel-feedback-list, linux-imx, slemieux.tyco, linux-pwm,
	rjui, s.hauer, mripard, vz, linux-mediatek, linux-rpi-kernel,
	paul.walmsley, matthias.bgg, linux-amlogic, linux-arm-kernel,
	sbranden, nicolas.ferre, linux, palmer, kernel, shawnguo,
	claudiu.beznea, nsaenzjulienne

Hello,

On Sun, Dec 29, 2019 at 08:05:55AM +0000, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks,
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 20/32] pwm: imx: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 ` [PATCH 20/32] pwm: imx: " Yangtao Li
@ 2020-05-23 17:22   ` Uwe Kleine-König
  0 siblings, 0 replies; 69+ messages in thread
From: Uwe Kleine-König @ 2020-05-23 17:22 UTC (permalink / raw)
  To: Yangtao Li
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra,
	thierry.reding, linux-riscv, festevam, f.fainelli, shc_work,
	khilman, wens, jonathanh, linux-rockchip, ludovic.desroches,
	bcm-kernel-feedback-list, linux-imx, slemieux.tyco, linux-pwm,
	rjui, s.hauer, mripard, vz, linux-mediatek, linux-rpi-kernel,
	paul.walmsley, matthias.bgg, linux-amlogic, linux-arm-kernel,
	sbranden, nicolas.ferre, linux, palmer, kernel, shawnguo,
	claudiu.beznea, nsaenzjulienne

Hello,

On Sun, Dec 29, 2019 at 08:05:58AM +0000, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks,
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 18/32] pwm: tiehrpwm: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 ` [PATCH 18/32] pwm: tiehrpwm: " Yangtao Li
@ 2020-05-23 17:22   ` Uwe Kleine-König
  0 siblings, 0 replies; 69+ messages in thread
From: Uwe Kleine-König @ 2020-05-23 17:22 UTC (permalink / raw)
  To: Yangtao Li
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra,
	thierry.reding, linux-riscv, festevam, f.fainelli, shc_work,
	khilman, wens, jonathanh, linux-rockchip, ludovic.desroches,
	bcm-kernel-feedback-list, linux-imx, slemieux.tyco, linux-pwm,
	rjui, s.hauer, mripard, vz, linux-mediatek, linux-rpi-kernel,
	paul.walmsley, matthias.bgg, linux-amlogic, linux-arm-kernel,
	sbranden, nicolas.ferre, linux, palmer, kernel, shawnguo,
	claudiu.beznea, nsaenzjulienne

Hello,

On Sun, Dec 29, 2019 at 08:05:56AM +0000, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks,
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 16/32] pwm: bcm-iproc: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 ` [PATCH 16/32] pwm: bcm-iproc: " Yangtao Li
@ 2020-05-23 17:22   ` Uwe Kleine-König
  0 siblings, 0 replies; 69+ messages in thread
From: Uwe Kleine-König @ 2020-05-23 17:22 UTC (permalink / raw)
  To: Yangtao Li
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra,
	thierry.reding, linux-riscv, festevam, f.fainelli, shc_work,
	khilman, wens, jonathanh, linux-rockchip, ludovic.desroches,
	bcm-kernel-feedback-list, linux-imx, slemieux.tyco, linux-pwm,
	rjui, s.hauer, mripard, vz, linux-mediatek, linux-rpi-kernel,
	paul.walmsley, matthias.bgg, linux-amlogic, linux-arm-kernel,
	sbranden, nicolas.ferre, linux, palmer, kernel, shawnguo,
	claudiu.beznea, nsaenzjulienne

Hello,

On Sun, Dec 29, 2019 at 08:05:54AM +0000, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks,
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 11/32] pwm: spear: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 ` [PATCH 11/32] pwm: spear: " Yangtao Li
@ 2020-05-23 17:23   ` Uwe Kleine-König
  0 siblings, 0 replies; 69+ messages in thread
From: Uwe Kleine-König @ 2020-05-23 17:23 UTC (permalink / raw)
  To: Yangtao Li
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra,
	thierry.reding, linux-riscv, festevam, f.fainelli, shc_work,
	khilman, wens, jonathanh, linux-rockchip, ludovic.desroches,
	bcm-kernel-feedback-list, linux-imx, slemieux.tyco, linux-pwm,
	rjui, s.hauer, mripard, vz, linux-mediatek, linux-rpi-kernel,
	paul.walmsley, matthias.bgg, linux-amlogic, linux-arm-kernel,
	sbranden, nicolas.ferre, linux, palmer, kernel, shawnguo,
	claudiu.beznea, nsaenzjulienne

Hello,

On Sun, Dec 29, 2019 at 08:05:49AM +0000, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks,
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 10/32] pwm: zx: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 ` [PATCH 10/32] pwm: zx: " Yangtao Li
@ 2020-05-23 17:23   ` Uwe Kleine-König
  0 siblings, 0 replies; 69+ messages in thread
From: Uwe Kleine-König @ 2020-05-23 17:23 UTC (permalink / raw)
  To: Yangtao Li
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra,
	thierry.reding, linux-riscv, festevam, f.fainelli, shc_work,
	khilman, wens, jonathanh, linux-rockchip, ludovic.desroches,
	bcm-kernel-feedback-list, linux-imx, slemieux.tyco, linux-pwm,
	rjui, s.hauer, mripard, vz, linux-mediatek, linux-rpi-kernel,
	paul.walmsley, matthias.bgg, linux-amlogic, linux-arm-kernel,
	sbranden, nicolas.ferre, linux, palmer, kernel, shawnguo,
	claudiu.beznea, nsaenzjulienne

Hello,

On Sun, Dec 29, 2019 at 08:05:48AM +0000, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks,
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 08/32] pwm: sti: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 ` [PATCH 08/32] pwm: sti: " Yangtao Li
@ 2020-05-23 17:23   ` Uwe Kleine-König
  0 siblings, 0 replies; 69+ messages in thread
From: Uwe Kleine-König @ 2020-05-23 17:23 UTC (permalink / raw)
  To: Yangtao Li
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra,
	thierry.reding, linux-riscv, festevam, f.fainelli, shc_work,
	khilman, wens, jonathanh, linux-rockchip, ludovic.desroches,
	bcm-kernel-feedback-list, linux-imx, slemieux.tyco, linux-pwm,
	rjui, s.hauer, mripard, vz, linux-mediatek, linux-rpi-kernel,
	paul.walmsley, matthias.bgg, linux-amlogic, linux-arm-kernel,
	sbranden, nicolas.ferre, linux, palmer, kernel, shawnguo,
	claudiu.beznea, nsaenzjulienne

Hello,

On Sun, Dec 29, 2019 at 08:05:46AM +0000, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks,
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 07/32] pwm: mediatek: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 ` [PATCH 07/32] pwm: mediatek: " Yangtao Li
@ 2020-05-23 17:23   ` Uwe Kleine-König
  0 siblings, 0 replies; 69+ messages in thread
From: Uwe Kleine-König @ 2020-05-23 17:23 UTC (permalink / raw)
  To: Yangtao Li
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra,
	thierry.reding, linux-riscv, festevam, f.fainelli, shc_work,
	khilman, wens, jonathanh, linux-rockchip, ludovic.desroches,
	bcm-kernel-feedback-list, linux-imx, slemieux.tyco, linux-pwm,
	rjui, s.hauer, mripard, vz, linux-mediatek, linux-rpi-kernel,
	paul.walmsley, matthias.bgg, linux-amlogic, linux-arm-kernel,
	sbranden, nicolas.ferre, linux, palmer, kernel, shawnguo,
	claudiu.beznea, nsaenzjulienne

Hello,

On Sun, Dec 29, 2019 at 08:05:45AM +0000, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks,
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 06/32] pwm: tegra: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 ` [PATCH 06/32] pwm: tegra: " Yangtao Li
@ 2020-05-23 17:23   ` Uwe Kleine-König
  0 siblings, 0 replies; 69+ messages in thread
From: Uwe Kleine-König @ 2020-05-23 17:23 UTC (permalink / raw)
  To: Yangtao Li
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra,
	thierry.reding, linux-riscv, festevam, f.fainelli, shc_work,
	khilman, wens, jonathanh, linux-rockchip, ludovic.desroches,
	bcm-kernel-feedback-list, linux-imx, slemieux.tyco, linux-pwm,
	rjui, s.hauer, mripard, vz, linux-mediatek, linux-rpi-kernel,
	paul.walmsley, matthias.bgg, linux-amlogic, linux-arm-kernel,
	sbranden, nicolas.ferre, linux, palmer, kernel, shawnguo,
	claudiu.beznea, nsaenzjulienne

Hello,

On Sun, Dec 29, 2019 at 08:05:44AM +0000, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks,
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 05/32] pwm: ep93xx: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 ` [PATCH 05/32] pwm: ep93xx: " Yangtao Li
@ 2020-05-23 17:24   ` Uwe Kleine-König
  0 siblings, 0 replies; 69+ messages in thread
From: Uwe Kleine-König @ 2020-05-23 17:24 UTC (permalink / raw)
  To: Yangtao Li
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra,
	thierry.reding, linux-riscv, festevam, f.fainelli, shc_work,
	khilman, wens, jonathanh, linux-rockchip, ludovic.desroches,
	bcm-kernel-feedback-list, linux-imx, slemieux.tyco, linux-pwm,
	rjui, s.hauer, mripard, vz, linux-mediatek, linux-rpi-kernel,
	paul.walmsley, matthias.bgg, linux-amlogic, linux-arm-kernel,
	sbranden, nicolas.ferre, linux, palmer, kernel, shawnguo,
	claudiu.beznea, nsaenzjulienne

Hello,

On Sun, Dec 29, 2019 at 08:05:43AM +0000, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks,
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 03/32] pwm: rcar: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 ` [PATCH 03/32] pwm: rcar: " Yangtao Li
@ 2020-05-23 17:24   ` Uwe Kleine-König
  0 siblings, 0 replies; 69+ messages in thread
From: Uwe Kleine-König @ 2020-05-23 17:24 UTC (permalink / raw)
  To: Yangtao Li
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra,
	thierry.reding, linux-riscv, festevam, f.fainelli, shc_work,
	khilman, wens, jonathanh, linux-rockchip, ludovic.desroches,
	bcm-kernel-feedback-list, linux-imx, slemieux.tyco, linux-pwm,
	rjui, s.hauer, mripard, vz, linux-mediatek, linux-rpi-kernel,
	paul.walmsley, matthias.bgg, linux-amlogic, linux-arm-kernel,
	sbranden, nicolas.ferre, linux, palmer, kernel, shawnguo,
	claudiu.beznea, nsaenzjulienne

Hello,

On Sun, Dec 29, 2019 at 08:05:41AM +0000, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks,
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 02/32] pwm: fsl-ftm: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 ` [PATCH 02/32] pwm: fsl-ftm: " Yangtao Li
@ 2020-05-23 17:24   ` Uwe Kleine-König
  0 siblings, 0 replies; 69+ messages in thread
From: Uwe Kleine-König @ 2020-05-23 17:24 UTC (permalink / raw)
  To: Yangtao Li
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra,
	thierry.reding, linux-riscv, festevam, f.fainelli, shc_work,
	khilman, wens, jonathanh, linux-rockchip, ludovic.desroches,
	bcm-kernel-feedback-list, linux-imx, slemieux.tyco, linux-pwm,
	rjui, s.hauer, mripard, vz, linux-mediatek, linux-rpi-kernel,
	paul.walmsley, matthias.bgg, linux-amlogic, linux-arm-kernel,
	sbranden, nicolas.ferre, linux, palmer, kernel, shawnguo,
	claudiu.beznea, nsaenzjulienne

Hello,

On Sun, Dec 29, 2019 at 08:05:40AM +0000, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks,
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 15/32] pwm: rockchip: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 ` [PATCH 15/32] pwm: rockchip: " Yangtao Li
  2019-12-30  8:39   ` Heiko Stuebner
@ 2020-05-23 17:25   ` Uwe Kleine-König
  1 sibling, 0 replies; 69+ messages in thread
From: Uwe Kleine-König @ 2020-05-23 17:25 UTC (permalink / raw)
  To: Yangtao Li
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra,
	thierry.reding, linux-riscv, festevam, f.fainelli, shc_work,
	khilman, wens, jonathanh, linux-rockchip, ludovic.desroches,
	bcm-kernel-feedback-list, linux-imx, slemieux.tyco, linux-pwm,
	rjui, s.hauer, mripard, vz, linux-mediatek, linux-rpi-kernel,
	paul.walmsley, matthias.bgg, linux-amlogic, linux-arm-kernel,
	sbranden, nicolas.ferre, linux, palmer, kernel, shawnguo,
	claudiu.beznea, nsaenzjulienne

Hello,

On Sun, Dec 29, 2019 at 08:05:53AM +0000, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks,
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 14/32] pwm: meson: convert to devm_platform_ioremap_resource
  2019-12-29  8:05 ` [PATCH 14/32] pwm: meson: " Yangtao Li
  2019-12-31 14:53   ` Martin Blumenstingl
@ 2020-05-23 17:25   ` Uwe Kleine-König
  1 sibling, 0 replies; 69+ messages in thread
From: Uwe Kleine-König @ 2020-05-23 17:25 UTC (permalink / raw)
  To: Yangtao Li
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra,
	thierry.reding, linux-riscv, festevam, f.fainelli, shc_work,
	khilman, wens, jonathanh, linux-rockchip, ludovic.desroches,
	bcm-kernel-feedback-list, linux-imx, slemieux.tyco, linux-pwm,
	rjui, s.hauer, mripard, vz, linux-mediatek, linux-rpi-kernel,
	paul.walmsley, matthias.bgg, linux-amlogic, linux-arm-kernel,
	sbranden, nicolas.ferre, linux, palmer, kernel, shawnguo,
	claudiu.beznea, nsaenzjulienne

Hello,

On Sun, Dec 29, 2019 at 08:05:52AM +0000, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks,
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 32/32] pwm: atmel: convert to devm_platform_ioremap_resource
  2019-12-29  8:06 ` [PATCH 32/32] pwm: atmel: " Yangtao Li
  2020-01-06 10:32   ` Claudiu.Beznea
@ 2020-05-23 17:25   ` Uwe Kleine-König
  1 sibling, 0 replies; 69+ messages in thread
From: Uwe Kleine-König @ 2020-05-23 17:25 UTC (permalink / raw)
  To: Yangtao Li
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra,
	thierry.reding, linux-riscv, festevam, f.fainelli, shc_work,
	khilman, wens, jonathanh, linux-rockchip, ludovic.desroches,
	bcm-kernel-feedback-list, linux-imx, slemieux.tyco, linux-pwm,
	rjui, s.hauer, mripard, vz, linux-mediatek, linux-rpi-kernel,
	paul.walmsley, matthias.bgg, linux-amlogic, linux-arm-kernel,
	sbranden, nicolas.ferre, linux, palmer, kernel, shawnguo,
	claudiu.beznea, nsaenzjulienne

Hello,

On Sun, Dec 29, 2019 at 08:06:10AM +0000, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks,
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 25/32] pwm: brcmstb: convert to devm_platform_ioremap_resource
  2019-12-29  8:06 ` [PATCH 25/32] pwm: brcmstb: " Yangtao Li
  2020-01-07 10:54   ` Nicolas Saenz Julienne
@ 2020-05-23 17:25   ` Uwe Kleine-König
  1 sibling, 0 replies; 69+ messages in thread
From: Uwe Kleine-König @ 2020-05-23 17:25 UTC (permalink / raw)
  To: Yangtao Li
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra,
	thierry.reding, linux-riscv, festevam, f.fainelli, shc_work,
	khilman, wens, jonathanh, linux-rockchip, ludovic.desroches,
	bcm-kernel-feedback-list, linux-imx, slemieux.tyco, linux-pwm,
	rjui, s.hauer, mripard, vz, linux-mediatek, linux-rpi-kernel,
	paul.walmsley, matthias.bgg, linux-amlogic, linux-arm-kernel,
	sbranden, nicolas.ferre, linux, palmer, kernel, shawnguo,
	claudiu.beznea, nsaenzjulienne

Hello,

On Sun, Dec 29, 2019 at 08:06:03AM +0000, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks,
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* Re: [PATCH 30/32] pwm: hibvt: do some cleanup
  2020-02-20 20:41   ` Uwe Kleine-König
@ 2020-05-23 17:44     ` Uwe Kleine-König
  0 siblings, 0 replies; 69+ messages in thread
From: Uwe Kleine-König @ 2020-05-23 17:44 UTC (permalink / raw)
  To: Yangtao Li, thierry.reding
  Cc: alexandre.belloni, heiko, linux-kernel, linux-tegra, linux-riscv,
	festevam, f.fainelli, shc_work, khilman, wens, jonathanh,
	linux-rockchip, ludovic.desroches, bcm-kernel-feedback-list,
	linux-imx, slemieux.tyco, linux-pwm, rjui, s.hauer, mripard, vz,
	linux-mediatek, linux-rpi-kernel, paul.walmsley, matthias.bgg,
	linux-amlogic, linux-arm-kernel, sbranden, nicolas.ferre, linux,
	palmer, kernel, shawnguo, claudiu.beznea, nsaenzjulienne

On Thu, Feb 20, 2020 at 09:41:52PM +0100, Uwe Kleine-König wrote:
> On Sun, Dec 29, 2019 at 08:06:08AM +0000, Yangtao Li wrote:
> > Use devm_platform_ioremap_resource() to simplify code.
> > 'i' and 'ret' are variables of the same type and there is no
> > need to use two lines.
> 
> I think I wouldn't have merged these two lines, but I don't feel strong
> here. The other 31 patches are clean replacements.
> 
> But I also don't think respining just for this minor thing is worth the
> effort, so:
> 
> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> 
> for the whole series. (Not sure it is sensible to ack each patch
> individually, @Thierry, tell me if this simplifies things for you.)

I took a deeper look now and added Reviewed-by for all other patches to
ease application. So doing the same here:

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

FTR: I'd do the following now:

	for patch in 1216003 1216065 1216063 1216005 1216062 1216061 1216059 1216057 1216054 1216056 1216051 1216050 1216048 1216010 1216044 1216046 1216042 1216041 1216036 1216037 1216034 1216032 1216030 1216013 1216029 1216025 1216026 1216024 1216015 1216021 1216017 1216019; do

		pwclient git-am -m -s $patch && pwclient update -s "Accepted" -c "$(git rev-parse HEAD)" $patch || break
	done

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

end of thread, back to index

Thread overview: 69+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-29  8:05 [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource Yangtao Li
2019-12-29  8:05 ` [PATCH 02/32] pwm: fsl-ftm: " Yangtao Li
2020-05-23 17:24   ` Uwe Kleine-König
2019-12-29  8:05 ` [PATCH 03/32] pwm: rcar: " Yangtao Li
2020-05-23 17:24   ` Uwe Kleine-König
2019-12-29  8:05 ` [PATCH 04/32] pwm: renesas-tpu: " Yangtao Li
2020-05-23 17:12   ` Uwe Kleine-König
2019-12-29  8:05 ` [PATCH 05/32] pwm: ep93xx: " Yangtao Li
2020-05-23 17:24   ` Uwe Kleine-König
2019-12-29  8:05 ` [PATCH 06/32] pwm: tegra: " Yangtao Li
2020-05-23 17:23   ` Uwe Kleine-König
2019-12-29  8:05 ` [PATCH 07/32] pwm: mediatek: " Yangtao Li
2020-05-23 17:23   ` Uwe Kleine-König
2019-12-29  8:05 ` [PATCH 08/32] pwm: sti: " Yangtao Li
2020-05-23 17:23   ` Uwe Kleine-König
2019-12-29  8:05 ` [PATCH 09/32] pwm: pxa: " Yangtao Li
2020-05-23 17:20   ` Uwe Kleine-König
2019-12-29  8:05 ` [PATCH 10/32] pwm: zx: " Yangtao Li
2020-05-23 17:23   ` Uwe Kleine-König
2019-12-29  8:05 ` [PATCH 11/32] pwm: spear: " Yangtao Li
2020-05-23 17:23   ` Uwe Kleine-König
2019-12-29  8:05 ` [PATCH 12/32] pwm: bcm-kona: " Yangtao Li
2020-05-23 17:20   ` Uwe Kleine-König
2019-12-29  8:05 ` [PATCH 13/32] pwm: lpc32xx: " Yangtao Li
2020-05-23 17:20   ` Uwe Kleine-König
2019-12-29  8:05 ` [PATCH 14/32] pwm: meson: " Yangtao Li
2019-12-31 14:53   ` Martin Blumenstingl
2020-05-23 17:25   ` Uwe Kleine-König
2019-12-29  8:05 ` [PATCH 15/32] pwm: rockchip: " Yangtao Li
2019-12-30  8:39   ` Heiko Stuebner
2020-05-23 17:25   ` Uwe Kleine-König
2019-12-29  8:05 ` [PATCH 16/32] pwm: bcm-iproc: " Yangtao Li
2020-05-23 17:22   ` Uwe Kleine-König
2019-12-29  8:05 ` [PATCH 17/32] pwm: samsung: " Yangtao Li
2020-05-23 17:21   ` Uwe Kleine-König
2019-12-29  8:05 ` [PATCH 18/32] pwm: tiehrpwm: " Yangtao Li
2020-05-23 17:22   ` Uwe Kleine-König
2019-12-29  8:05 ` [PATCH 19/32] pwm: puv3: " Yangtao Li
2020-05-23 17:19   ` Uwe Kleine-König
2019-12-29  8:05 ` [PATCH 20/32] pwm: imx: " Yangtao Li
2020-05-23 17:22   ` Uwe Kleine-König
2019-12-29  8:05 ` [PATCH 21/32] pwm: tiecap: " Yangtao Li
2020-05-23 17:19   ` Uwe Kleine-König
2019-12-29  8:06 ` [PATCH 22/32] pwm: bcm2835: " Yangtao Li
2020-05-23 17:18   ` Uwe Kleine-König
2019-12-29  8:06 ` [PATCH 23/32] pwm: berlin: " Yangtao Li
2020-05-23 17:18   ` Uwe Kleine-König
2019-12-29  8:06 ` [PATCH 24/32] pwm: vt8500: " Yangtao Li
2020-05-23 17:14   ` Uwe Kleine-König
2019-12-29  8:06 ` [PATCH 25/32] pwm: brcmstb: " Yangtao Li
2020-01-07 10:54   ` Nicolas Saenz Julienne
2020-05-23 17:25   ` Uwe Kleine-König
2019-12-29  8:06 ` [PATCH 26/32] pwm: mtk-disp: " Yangtao Li
2020-02-20 20:49   ` Matthias Brugger
2019-12-29  8:06 ` [PATCH 27/32] pwm: clps711x: " Yangtao Li
2020-05-23 17:17   ` Uwe Kleine-König
2019-12-29  8:06 ` [PATCH 28/32] pwm: img: " Yangtao Li
2020-05-23 17:16   ` Uwe Kleine-König
2019-12-29  8:06 ` [PATCH 29/32] pwm: lpc18xx-sct: " Yangtao Li
2020-05-23 17:14   ` Uwe Kleine-König
2019-12-29  8:06 ` [PATCH 30/32] pwm: hibvt: do some cleanup Yangtao Li
2020-02-20 20:41   ` Uwe Kleine-König
2020-05-23 17:44     ` Uwe Kleine-König
2019-12-29  8:06 ` [PATCH 31/32] pwm: sifive: convert to devm_platform_ioremap_resource Yangtao Li
2020-05-23 17:15   ` Uwe Kleine-König
2019-12-29  8:06 ` [PATCH 32/32] pwm: atmel: " Yangtao Li
2020-01-06 10:32   ` Claudiu.Beznea
2020-05-23 17:25   ` Uwe Kleine-König
2020-05-23 17:11 ` [PATCH 01/32] pwm: sun4i: " Uwe Kleine-König

Linux-Amlogic Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-amlogic/0 linux-amlogic/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-amlogic linux-amlogic/ https://lore.kernel.org/linux-amlogic \
		linux-amlogic@lists.infradead.org
	public-inbox-index linux-amlogic

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.infradead.lists.linux-amlogic


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git