* [PATCH 1/7] mfd: atmel-hlcdc: Convert to devm_platform_ioremap_resource()
@ 2023-07-06 11:39 ` Yangtao Li
0 siblings, 0 replies; 20+ messages in thread
From: Yangtao Li @ 2023-07-06 11:39 UTC (permalink / raw)
To: Lee Jones, Nicolas Ferre, Alexandre Belloni, Claudiu Beznea
Cc: Yangtao Li, linux-arm-kernel, linux-kernel
Use devm_platform_ioremap_resource() to simplify code.
Signed-off-by: Yangtao Li <frank.li@vivo.com>
---
drivers/mfd/atmel-hlcdc.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/mfd/atmel-hlcdc.c b/drivers/mfd/atmel-hlcdc.c
index 3c2414ba4b01..20de7f49a830 100644
--- a/drivers/mfd/atmel-hlcdc.c
+++ b/drivers/mfd/atmel-hlcdc.c
@@ -83,7 +83,6 @@ static int atmel_hlcdc_probe(struct platform_device *pdev)
struct atmel_hlcdc_regmap *hregmap;
struct device *dev = &pdev->dev;
struct atmel_hlcdc *hlcdc;
- struct resource *res;
hregmap = devm_kzalloc(dev, sizeof(*hregmap), GFP_KERNEL);
if (!hregmap)
@@ -93,8 +92,7 @@ static int atmel_hlcdc_probe(struct platform_device *pdev)
if (!hlcdc)
return -ENOMEM;
- res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- hregmap->regs = devm_ioremap_resource(dev, res);
+ hregmap->regs = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(hregmap->regs))
return PTR_ERR(hregmap->regs);
--
2.39.0
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH 1/7] mfd: atmel-hlcdc: Convert to devm_platform_ioremap_resource()
@ 2023-07-06 11:39 ` Yangtao Li
0 siblings, 0 replies; 20+ messages in thread
From: Yangtao Li @ 2023-07-06 11:39 UTC (permalink / raw)
To: Lee Jones, Nicolas Ferre, Alexandre Belloni, Claudiu Beznea
Cc: Yangtao Li, linux-arm-kernel, linux-kernel
Use devm_platform_ioremap_resource() to simplify code.
Signed-off-by: Yangtao Li <frank.li@vivo.com>
---
drivers/mfd/atmel-hlcdc.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/mfd/atmel-hlcdc.c b/drivers/mfd/atmel-hlcdc.c
index 3c2414ba4b01..20de7f49a830 100644
--- a/drivers/mfd/atmel-hlcdc.c
+++ b/drivers/mfd/atmel-hlcdc.c
@@ -83,7 +83,6 @@ static int atmel_hlcdc_probe(struct platform_device *pdev)
struct atmel_hlcdc_regmap *hregmap;
struct device *dev = &pdev->dev;
struct atmel_hlcdc *hlcdc;
- struct resource *res;
hregmap = devm_kzalloc(dev, sizeof(*hregmap), GFP_KERNEL);
if (!hregmap)
@@ -93,8 +92,7 @@ static int atmel_hlcdc_probe(struct platform_device *pdev)
if (!hlcdc)
return -ENOMEM;
- res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- hregmap->regs = devm_ioremap_resource(dev, res);
+ hregmap->regs = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(hregmap->regs))
return PTR_ERR(hregmap->regs);
--
2.39.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH 2/7] mfd: omap-usb-tll: Convert to devm_platform_ioremap_resource()
2023-07-06 11:39 ` Yangtao Li
(?)
@ 2023-07-06 11:39 ` Yangtao Li
2023-07-13 13:39 ` Lee Jones
-1 siblings, 1 reply; 20+ messages in thread
From: Yangtao Li @ 2023-07-06 11:39 UTC (permalink / raw)
To: Tony Lindgren, Lee Jones; +Cc: Yangtao Li, linux-omap, linux-kernel
Use devm_platform_ioremap_resource() to simplify code.
Signed-off-by: Yangtao Li <frank.li@vivo.com>
---
drivers/mfd/omap-usb-tll.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/mfd/omap-usb-tll.c b/drivers/mfd/omap-usb-tll.c
index 69cbc2097911..906353735c78 100644
--- a/drivers/mfd/omap-usb-tll.c
+++ b/drivers/mfd/omap-usb-tll.c
@@ -200,15 +200,13 @@ static unsigned ohci_omap3_fslsmode(enum usbhs_omap_port_mode mode)
static int usbtll_omap_probe(struct platform_device *pdev)
{
struct device *dev = &pdev->dev;
- struct resource *res;
struct usbtll_omap *tll;
void __iomem *base;
int i, nch, ver;
dev_dbg(dev, "starting TI HSUSB TLL Controller\n");
- res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- base = devm_ioremap_resource(dev, res);
+ base = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(base))
return PTR_ERR(base);
--
2.39.0
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH 3/7] mfd: ti_am335x_tscadc: Use devm_platform_get_and_ioremap_resource()
2023-07-06 11:39 ` Yangtao Li
(?)
(?)
@ 2023-07-06 11:39 ` Yangtao Li
2023-07-13 13:40 ` Lee Jones
-1 siblings, 1 reply; 20+ messages in thread
From: Yangtao Li @ 2023-07-06 11:39 UTC (permalink / raw)
To: Lee Jones; +Cc: Yangtao Li, linux-kernel
Convert platform_get_resource(), devm_ioremap_resource() to a single
call to devm_platform_get_and_ioremap_resource(), as this is exactly
what this function does.
Signed-off-by: Yangtao Li <frank.li@vivo.com>
---
drivers/mfd/ti_am335x_tscadc.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/mfd/ti_am335x_tscadc.c b/drivers/mfd/ti_am335x_tscadc.c
index 07825cfd8aa8..570bc2d33e2b 100644
--- a/drivers/mfd/ti_am335x_tscadc.c
+++ b/drivers/mfd/ti_am335x_tscadc.c
@@ -201,8 +201,7 @@ static int ti_tscadc_probe(struct platform_device *pdev)
else
tscadc->irq = err;
- res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- tscadc->tscadc_base = devm_ioremap_resource(&pdev->dev, res);
+ tscadc->tscadc_base = devm_platform_get_and_ioremap_resource(pdev, 0, &res);
if (IS_ERR(tscadc->tscadc_base))
return PTR_ERR(tscadc->tscadc_base);
--
2.39.0
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH 4/7] mfd: exynos-lpass: Convert to devm_platform_ioremap_resource()
2023-07-06 11:39 ` Yangtao Li
@ 2023-07-06 11:39 ` Yangtao Li
-1 siblings, 0 replies; 20+ messages in thread
From: Yangtao Li @ 2023-07-06 11:39 UTC (permalink / raw)
To: Lee Jones, Krzysztof Kozlowski, Alim Akhtar
Cc: Yangtao Li, linux-arm-kernel, linux-samsung-soc, linux-kernel
Use devm_platform_ioremap_resource() to simplify code.
Signed-off-by: Yangtao Li <frank.li@vivo.com>
---
drivers/mfd/exynos-lpass.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/mfd/exynos-lpass.c b/drivers/mfd/exynos-lpass.c
index 166cd21088cd..1506d8d352b1 100644
--- a/drivers/mfd/exynos-lpass.c
+++ b/drivers/mfd/exynos-lpass.c
@@ -109,14 +109,12 @@ static int exynos_lpass_probe(struct platform_device *pdev)
struct device *dev = &pdev->dev;
struct exynos_lpass *lpass;
void __iomem *base_top;
- struct resource *res;
lpass = devm_kzalloc(dev, sizeof(*lpass), GFP_KERNEL);
if (!lpass)
return -ENOMEM;
- res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- base_top = devm_ioremap_resource(dev, res);
+ base_top = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(base_top))
return PTR_ERR(base_top);
--
2.39.0
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH 4/7] mfd: exynos-lpass: Convert to devm_platform_ioremap_resource()
@ 2023-07-06 11:39 ` Yangtao Li
0 siblings, 0 replies; 20+ messages in thread
From: Yangtao Li @ 2023-07-06 11:39 UTC (permalink / raw)
To: Lee Jones, Krzysztof Kozlowski, Alim Akhtar
Cc: Yangtao Li, linux-arm-kernel, linux-samsung-soc, linux-kernel
Use devm_platform_ioremap_resource() to simplify code.
Signed-off-by: Yangtao Li <frank.li@vivo.com>
---
drivers/mfd/exynos-lpass.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/mfd/exynos-lpass.c b/drivers/mfd/exynos-lpass.c
index 166cd21088cd..1506d8d352b1 100644
--- a/drivers/mfd/exynos-lpass.c
+++ b/drivers/mfd/exynos-lpass.c
@@ -109,14 +109,12 @@ static int exynos_lpass_probe(struct platform_device *pdev)
struct device *dev = &pdev->dev;
struct exynos_lpass *lpass;
void __iomem *base_top;
- struct resource *res;
lpass = devm_kzalloc(dev, sizeof(*lpass), GFP_KERNEL);
if (!lpass)
return -ENOMEM;
- res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- base_top = devm_ioremap_resource(dev, res);
+ base_top = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(base_top))
return PTR_ERR(base_top);
--
2.39.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH 5/7] mfd: omap-usb-host: Convert to devm_platform_ioremap_resource()
2023-07-06 11:39 ` Yangtao Li
` (3 preceding siblings ...)
(?)
@ 2023-07-06 11:39 ` Yangtao Li
2023-07-13 13:41 ` Lee Jones
-1 siblings, 1 reply; 20+ messages in thread
From: Yangtao Li @ 2023-07-06 11:39 UTC (permalink / raw)
To: Tony Lindgren, Lee Jones; +Cc: Yangtao Li, linux-omap, linux-kernel
Use devm_platform_ioremap_resource() to simplify code.
Signed-off-by: Yangtao Li <frank.li@vivo.com>
---
drivers/mfd/omap-usb-host.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c
index 7f5775109593..78f1bb55dbc0 100644
--- a/drivers/mfd/omap-usb-host.c
+++ b/drivers/mfd/omap-usb-host.c
@@ -534,7 +534,6 @@ static int usbhs_omap_probe(struct platform_device *pdev)
struct device *dev = &pdev->dev;
struct usbhs_omap_platform_data *pdata = dev_get_platdata(dev);
struct usbhs_hcd_omap *omap;
- struct resource *res;
int ret = 0;
int i;
bool need_logic_fck;
@@ -569,8 +568,7 @@ static int usbhs_omap_probe(struct platform_device *pdev)
return -ENOMEM;
}
- res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- omap->uhh_base = devm_ioremap_resource(dev, res);
+ omap->uhh_base = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(omap->uhh_base))
return PTR_ERR(omap->uhh_base);
--
2.39.0
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH 6/7] mfd: stm32-timers: Use devm_platform_get_and_ioremap_resource()
2023-07-06 11:39 ` Yangtao Li
@ 2023-07-06 11:39 ` Yangtao Li
-1 siblings, 0 replies; 20+ messages in thread
From: Yangtao Li @ 2023-07-06 11:39 UTC (permalink / raw)
To: Fabrice Gasnier, Lee Jones, Maxime Coquelin, Alexandre Torgue
Cc: Yangtao Li, linux-stm32, linux-arm-kernel, linux-kernel
Convert platform_get_resource(), devm_ioremap_resource() to a single
call to devm_platform_get_and_ioremap_resource(), as this is exactly
what this function does.
Signed-off-by: Yangtao Li <frank.li@vivo.com>
---
drivers/mfd/stm32-timers.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/mfd/stm32-timers.c b/drivers/mfd/stm32-timers.c
index 44ed2fce0319..dc0cd0808736 100644
--- a/drivers/mfd/stm32-timers.c
+++ b/drivers/mfd/stm32-timers.c
@@ -226,8 +226,7 @@ static int stm32_timers_probe(struct platform_device *pdev)
if (!ddata)
return -ENOMEM;
- res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- mmio = devm_ioremap_resource(dev, res);
+ mmio = devm_platform_get_and_ioremap_resource(pdev, 0, &res);
if (IS_ERR(mmio))
return PTR_ERR(mmio);
--
2.39.0
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH 6/7] mfd: stm32-timers: Use devm_platform_get_and_ioremap_resource()
@ 2023-07-06 11:39 ` Yangtao Li
0 siblings, 0 replies; 20+ messages in thread
From: Yangtao Li @ 2023-07-06 11:39 UTC (permalink / raw)
To: Fabrice Gasnier, Lee Jones, Maxime Coquelin, Alexandre Torgue
Cc: Yangtao Li, linux-stm32, linux-arm-kernel, linux-kernel
Convert platform_get_resource(), devm_ioremap_resource() to a single
call to devm_platform_get_and_ioremap_resource(), as this is exactly
what this function does.
Signed-off-by: Yangtao Li <frank.li@vivo.com>
---
drivers/mfd/stm32-timers.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/mfd/stm32-timers.c b/drivers/mfd/stm32-timers.c
index 44ed2fce0319..dc0cd0808736 100644
--- a/drivers/mfd/stm32-timers.c
+++ b/drivers/mfd/stm32-timers.c
@@ -226,8 +226,7 @@ static int stm32_timers_probe(struct platform_device *pdev)
if (!ddata)
return -ENOMEM;
- res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- mmio = devm_ioremap_resource(dev, res);
+ mmio = devm_platform_get_and_ioremap_resource(pdev, 0, &res);
if (IS_ERR(mmio))
return PTR_ERR(mmio);
--
2.39.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH 7/7] mfd: hi655x-pmic: Convert to devm_platform_ioremap_resource()
2023-07-06 11:39 ` Yangtao Li
` (5 preceding siblings ...)
(?)
@ 2023-07-06 11:39 ` Yangtao Li
2023-07-13 13:42 ` Lee Jones
-1 siblings, 1 reply; 20+ messages in thread
From: Yangtao Li @ 2023-07-06 11:39 UTC (permalink / raw)
To: Lee Jones; +Cc: Yangtao Li, linux-kernel
Use devm_platform_ioremap_resource() to simplify code.
Signed-off-by: Yangtao Li <frank.li@vivo.com>
---
drivers/mfd/hi655x-pmic.c | 3 +--
include/linux/mfd/hi655x-pmic.h | 1 -
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/mfd/hi655x-pmic.c b/drivers/mfd/hi655x-pmic.c
index a58e42ddcd0c..98ae40ee3f05 100644
--- a/drivers/mfd/hi655x-pmic.c
+++ b/drivers/mfd/hi655x-pmic.c
@@ -100,8 +100,7 @@ static int hi655x_pmic_probe(struct platform_device *pdev)
return -ENOMEM;
pmic->dev = dev;
- pmic->res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- base = devm_ioremap_resource(dev, pmic->res);
+ base = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(base))
return PTR_ERR(base);
diff --git a/include/linux/mfd/hi655x-pmic.h b/include/linux/mfd/hi655x-pmic.h
index 6a012784dd1b..194556851ccf 100644
--- a/include/linux/mfd/hi655x-pmic.h
+++ b/include/linux/mfd/hi655x-pmic.h
@@ -52,7 +52,6 @@
#define OTMP_D1R_INT_MASK BIT(OTMP_D1R_INT)
struct hi655x_pmic {
- struct resource *res;
struct device *dev;
struct regmap *regmap;
struct gpio_desc *gpio;
--
2.39.0
^ permalink raw reply related [flat|nested] 20+ messages in thread
* Re: [PATCH 1/7] mfd: atmel-hlcdc: Convert to devm_platform_ioremap_resource()
2023-07-06 11:39 ` Yangtao Li
@ 2023-07-13 13:39 ` Lee Jones
-1 siblings, 0 replies; 20+ messages in thread
From: Lee Jones @ 2023-07-13 13:39 UTC (permalink / raw)
To: Yangtao Li
Cc: Nicolas Ferre, Alexandre Belloni, Claudiu Beznea,
linux-arm-kernel, linux-kernel
On Thu, 06 Jul 2023, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
>
> Signed-off-by: Yangtao Li <frank.li@vivo.com>
> ---
> drivers/mfd/atmel-hlcdc.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
Applied, thanks
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH 1/7] mfd: atmel-hlcdc: Convert to devm_platform_ioremap_resource()
@ 2023-07-13 13:39 ` Lee Jones
0 siblings, 0 replies; 20+ messages in thread
From: Lee Jones @ 2023-07-13 13:39 UTC (permalink / raw)
To: Yangtao Li
Cc: linux-kernel, Alexandre Belloni, linux-arm-kernel, Claudiu Beznea
On Thu, 06 Jul 2023, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
>
> Signed-off-by: Yangtao Li <frank.li@vivo.com>
> ---
> drivers/mfd/atmel-hlcdc.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
Applied, thanks
--
Lee Jones [李琼斯]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH 2/7] mfd: omap-usb-tll: Convert to devm_platform_ioremap_resource()
2023-07-06 11:39 ` [PATCH 2/7] mfd: omap-usb-tll: " Yangtao Li
@ 2023-07-13 13:39 ` Lee Jones
0 siblings, 0 replies; 20+ messages in thread
From: Lee Jones @ 2023-07-13 13:39 UTC (permalink / raw)
To: Yangtao Li; +Cc: Tony Lindgren, linux-omap, linux-kernel
On Thu, 06 Jul 2023, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
>
> Signed-off-by: Yangtao Li <frank.li@vivo.com>
> ---
> drivers/mfd/omap-usb-tll.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
Applied, thanks
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH 3/7] mfd: ti_am335x_tscadc: Use devm_platform_get_and_ioremap_resource()
2023-07-06 11:39 ` [PATCH 3/7] mfd: ti_am335x_tscadc: Use devm_platform_get_and_ioremap_resource() Yangtao Li
@ 2023-07-13 13:40 ` Lee Jones
0 siblings, 0 replies; 20+ messages in thread
From: Lee Jones @ 2023-07-13 13:40 UTC (permalink / raw)
To: Yangtao Li; +Cc: linux-kernel
On Thu, 06 Jul 2023, Yangtao Li wrote:
> Convert platform_get_resource(), devm_ioremap_resource() to a single
> call to devm_platform_get_and_ioremap_resource(), as this is exactly
> what this function does.
>
> Signed-off-by: Yangtao Li <frank.li@vivo.com>
> ---
> drivers/mfd/ti_am335x_tscadc.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
Applied, thanks
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH 4/7] mfd: exynos-lpass: Convert to devm_platform_ioremap_resource()
2023-07-06 11:39 ` Yangtao Li
@ 2023-07-13 13:41 ` Lee Jones
-1 siblings, 0 replies; 20+ messages in thread
From: Lee Jones @ 2023-07-13 13:41 UTC (permalink / raw)
To: Yangtao Li
Cc: Krzysztof Kozlowski, Alim Akhtar, linux-arm-kernel,
linux-samsung-soc, linux-kernel
On Thu, 06 Jul 2023, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
>
> Signed-off-by: Yangtao Li <frank.li@vivo.com>
> ---
> drivers/mfd/exynos-lpass.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
Applied, thanks
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH 4/7] mfd: exynos-lpass: Convert to devm_platform_ioremap_resource()
@ 2023-07-13 13:41 ` Lee Jones
0 siblings, 0 replies; 20+ messages in thread
From: Lee Jones @ 2023-07-13 13:41 UTC (permalink / raw)
To: Yangtao Li
Cc: Krzysztof Kozlowski, Alim Akhtar, linux-arm-kernel,
linux-samsung-soc, linux-kernel
On Thu, 06 Jul 2023, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
>
> Signed-off-by: Yangtao Li <frank.li@vivo.com>
> ---
> drivers/mfd/exynos-lpass.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
Applied, thanks
--
Lee Jones [李琼斯]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH 5/7] mfd: omap-usb-host: Convert to devm_platform_ioremap_resource()
2023-07-06 11:39 ` [PATCH 5/7] mfd: omap-usb-host: " Yangtao Li
@ 2023-07-13 13:41 ` Lee Jones
0 siblings, 0 replies; 20+ messages in thread
From: Lee Jones @ 2023-07-13 13:41 UTC (permalink / raw)
To: Yangtao Li; +Cc: Tony Lindgren, linux-omap, linux-kernel
On Thu, 06 Jul 2023, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
>
> Signed-off-by: Yangtao Li <frank.li@vivo.com>
> ---
> drivers/mfd/omap-usb-host.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
Applied, thanks
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH 6/7] mfd: stm32-timers: Use devm_platform_get_and_ioremap_resource()
2023-07-06 11:39 ` Yangtao Li
@ 2023-07-13 13:41 ` Lee Jones
-1 siblings, 0 replies; 20+ messages in thread
From: Lee Jones @ 2023-07-13 13:41 UTC (permalink / raw)
To: Yangtao Li
Cc: Fabrice Gasnier, Maxime Coquelin, Alexandre Torgue, linux-stm32,
linux-arm-kernel, linux-kernel
On Thu, 06 Jul 2023, Yangtao Li wrote:
> Convert platform_get_resource(), devm_ioremap_resource() to a single
> call to devm_platform_get_and_ioremap_resource(), as this is exactly
> what this function does.
>
> Signed-off-by: Yangtao Li <frank.li@vivo.com>
> ---
> drivers/mfd/stm32-timers.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
Applied, thanks
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH 6/7] mfd: stm32-timers: Use devm_platform_get_and_ioremap_resource()
@ 2023-07-13 13:41 ` Lee Jones
0 siblings, 0 replies; 20+ messages in thread
From: Lee Jones @ 2023-07-13 13:41 UTC (permalink / raw)
To: Yangtao Li
Cc: Fabrice Gasnier, Maxime Coquelin, Alexandre Torgue, linux-stm32,
linux-arm-kernel, linux-kernel
On Thu, 06 Jul 2023, Yangtao Li wrote:
> Convert platform_get_resource(), devm_ioremap_resource() to a single
> call to devm_platform_get_and_ioremap_resource(), as this is exactly
> what this function does.
>
> Signed-off-by: Yangtao Li <frank.li@vivo.com>
> ---
> drivers/mfd/stm32-timers.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
Applied, thanks
--
Lee Jones [李琼斯]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH 7/7] mfd: hi655x-pmic: Convert to devm_platform_ioremap_resource()
2023-07-06 11:39 ` [PATCH 7/7] mfd: hi655x-pmic: Convert to devm_platform_ioremap_resource() Yangtao Li
@ 2023-07-13 13:42 ` Lee Jones
0 siblings, 0 replies; 20+ messages in thread
From: Lee Jones @ 2023-07-13 13:42 UTC (permalink / raw)
To: Yangtao Li; +Cc: linux-kernel
On Thu, 06 Jul 2023, Yangtao Li wrote:
> Use devm_platform_ioremap_resource() to simplify code.
>
> Signed-off-by: Yangtao Li <frank.li@vivo.com>
> ---
> drivers/mfd/hi655x-pmic.c | 3 +--
> include/linux/mfd/hi655x-pmic.h | 1 -
> 2 files changed, 1 insertion(+), 3 deletions(-)
Applied, thanks
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2023-07-13 13:42 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-06 11:39 [PATCH 1/7] mfd: atmel-hlcdc: Convert to devm_platform_ioremap_resource() Yangtao Li
2023-07-06 11:39 ` Yangtao Li
2023-07-06 11:39 ` [PATCH 2/7] mfd: omap-usb-tll: " Yangtao Li
2023-07-13 13:39 ` Lee Jones
2023-07-06 11:39 ` [PATCH 3/7] mfd: ti_am335x_tscadc: Use devm_platform_get_and_ioremap_resource() Yangtao Li
2023-07-13 13:40 ` Lee Jones
2023-07-06 11:39 ` [PATCH 4/7] mfd: exynos-lpass: Convert to devm_platform_ioremap_resource() Yangtao Li
2023-07-06 11:39 ` Yangtao Li
2023-07-13 13:41 ` Lee Jones
2023-07-13 13:41 ` Lee Jones
2023-07-06 11:39 ` [PATCH 5/7] mfd: omap-usb-host: " Yangtao Li
2023-07-13 13:41 ` Lee Jones
2023-07-06 11:39 ` [PATCH 6/7] mfd: stm32-timers: Use devm_platform_get_and_ioremap_resource() Yangtao Li
2023-07-06 11:39 ` Yangtao Li
2023-07-13 13:41 ` Lee Jones
2023-07-13 13:41 ` Lee Jones
2023-07-06 11:39 ` [PATCH 7/7] mfd: hi655x-pmic: Convert to devm_platform_ioremap_resource() Yangtao Li
2023-07-13 13:42 ` Lee Jones
2023-07-13 13:39 ` [PATCH 1/7] mfd: atmel-hlcdc: " Lee Jones
2023-07-13 13:39 ` Lee Jones
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.