* [PATCH 01/18] mtd: rawnand: sunxi: Use devm_platform_get_and_ioremap_resource()
@ 2023-07-07 4:06 Yangtao Li
2023-07-07 4:06 ` [PATCH 02/18] mtd: rawnand: lpc32xx_slc: " Yangtao Li
` (6 more replies)
0 siblings, 7 replies; 13+ messages in thread
From: Yangtao Li @ 2023-07-07 4:06 UTC (permalink / raw)
To: Miquel Raynal, Richard Weinberger, Vignesh Raghavendra,
Chen-Yu Tsai, Jernej Skrabec, Samuel Holland
Cc: Yangtao Li, linux-mtd, linux-arm-kernel, linux-sunxi,
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/mtd/nand/raw/sunxi_nand.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/mtd/nand/raw/sunxi_nand.c b/drivers/mtd/nand/raw/sunxi_nand.c
index 9884304634f6..db36bd755b8d 100644
--- a/drivers/mtd/nand/raw/sunxi_nand.c
+++ b/drivers/mtd/nand/raw/sunxi_nand.c
@@ -2087,8 +2087,7 @@ static int sunxi_nfc_probe(struct platform_device *pdev)
nand_controller_init(&nfc->controller);
INIT_LIST_HEAD(&nfc->chips);
- r = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- nfc->regs = devm_ioremap_resource(dev, r);
+ nfc->regs = devm_platform_get_and_ioremap_resource(pdev, 0, &r);
if (IS_ERR(nfc->regs))
return PTR_ERR(nfc->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] 13+ messages in thread
* [PATCH 02/18] mtd: rawnand: lpc32xx_slc: Use devm_platform_get_and_ioremap_resource()
2023-07-07 4:06 [PATCH 01/18] mtd: rawnand: sunxi: Use devm_platform_get_and_ioremap_resource() Yangtao Li
@ 2023-07-07 4:06 ` Yangtao Li
2023-07-13 7:58 ` Miquel Raynal
2023-07-07 4:06 ` [PATCH 06/18] mtd: rawnand: stm32_fmc2: " Yangtao Li
` (5 subsequent siblings)
6 siblings, 1 reply; 13+ messages in thread
From: Yangtao Li @ 2023-07-07 4:06 UTC (permalink / raw)
To: Miquel Raynal, Richard Weinberger, Vignesh Raghavendra,
Vladimir Zapolskiy
Cc: Yangtao Li, linux-mtd, 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/mtd/nand/raw/lpc32xx_slc.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/mtd/nand/raw/lpc32xx_slc.c b/drivers/mtd/nand/raw/lpc32xx_slc.c
index 3139b6107660..2201264d3c37 100644
--- a/drivers/mtd/nand/raw/lpc32xx_slc.c
+++ b/drivers/mtd/nand/raw/lpc32xx_slc.c
@@ -836,8 +836,7 @@ static int lpc32xx_nand_probe(struct platform_device *pdev)
if (!host)
return -ENOMEM;
- rc = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- host->io_base = devm_ioremap_resource(&pdev->dev, rc);
+ host->io_base = devm_platform_get_and_ioremap_resource(pdev, 0, &rc);
if (IS_ERR(host->io_base))
return PTR_ERR(host->io_base);
--
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] 13+ messages in thread
* [PATCH 06/18] mtd: rawnand: stm32_fmc2: Use devm_platform_get_and_ioremap_resource()
2023-07-07 4:06 [PATCH 01/18] mtd: rawnand: sunxi: Use devm_platform_get_and_ioremap_resource() Yangtao Li
2023-07-07 4:06 ` [PATCH 02/18] mtd: rawnand: lpc32xx_slc: " Yangtao Li
@ 2023-07-07 4:06 ` Yangtao Li
2023-07-13 7:58 ` Miquel Raynal
2023-07-07 4:06 ` [PATCH 07/18] mtd: rawnand: lpc32xx_mlc: " Yangtao Li
` (4 subsequent siblings)
6 siblings, 1 reply; 13+ messages in thread
From: Yangtao Li @ 2023-07-07 4:06 UTC (permalink / raw)
To: Miquel Raynal, Richard Weinberger, Vignesh Raghavendra,
Maxime Coquelin, Alexandre Torgue
Cc: Yangtao Li, linux-mtd, 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/mtd/nand/raw/stm32_fmc2_nand.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/nand/raw/stm32_fmc2_nand.c b/drivers/mtd/nand/raw/stm32_fmc2_nand.c
index 10c11cecac08..2f9e43f64dd7 100644
--- a/drivers/mtd/nand/raw/stm32_fmc2_nand.c
+++ b/drivers/mtd/nand/raw/stm32_fmc2_nand.c
@@ -1922,8 +1922,8 @@ static int stm32_fmc2_nfc_probe(struct platform_device *pdev)
if (!(nfc->cs_assigned & BIT(chip_cs)))
continue;
- res = platform_get_resource(pdev, IORESOURCE_MEM, mem_region);
- nfc->data_base[chip_cs] = devm_ioremap_resource(dev, res);
+ nfc->data_base[chip_cs] = devm_platform_get_and_ioremap_resource(pdev,
+ mem_region, &res);
if (IS_ERR(nfc->data_base[chip_cs]))
return PTR_ERR(nfc->data_base[chip_cs]);
--
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] 13+ messages in thread
* [PATCH 07/18] mtd: rawnand: lpc32xx_mlc: Use devm_platform_get_and_ioremap_resource()
2023-07-07 4:06 [PATCH 01/18] mtd: rawnand: sunxi: Use devm_platform_get_and_ioremap_resource() Yangtao Li
2023-07-07 4:06 ` [PATCH 02/18] mtd: rawnand: lpc32xx_slc: " Yangtao Li
2023-07-07 4:06 ` [PATCH 06/18] mtd: rawnand: stm32_fmc2: " Yangtao Li
@ 2023-07-07 4:06 ` Yangtao Li
2023-07-13 7:58 ` Miquel Raynal
2023-07-07 4:06 ` [PATCH 10/18] mtd: rawnand: atmel: " Yangtao Li
` (3 subsequent siblings)
6 siblings, 1 reply; 13+ messages in thread
From: Yangtao Li @ 2023-07-07 4:06 UTC (permalink / raw)
To: Miquel Raynal, Richard Weinberger, Vignesh Raghavendra,
Vladimir Zapolskiy
Cc: Yangtao Li, linux-mtd, 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/mtd/nand/raw/lpc32xx_mlc.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/mtd/nand/raw/lpc32xx_mlc.c b/drivers/mtd/nand/raw/lpc32xx_mlc.c
index b3136ae6f4e9..488fd452611a 100644
--- a/drivers/mtd/nand/raw/lpc32xx_mlc.c
+++ b/drivers/mtd/nand/raw/lpc32xx_mlc.c
@@ -695,8 +695,7 @@ static int lpc32xx_nand_probe(struct platform_device *pdev)
host->pdev = pdev;
- rc = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- host->io_base = devm_ioremap_resource(&pdev->dev, rc);
+ host->io_base = devm_platform_get_and_ioremap_resource(pdev, 0, &rc);
if (IS_ERR(host->io_base))
return PTR_ERR(host->io_base);
--
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] 13+ messages in thread
* [PATCH 10/18] mtd: rawnand: atmel: Use devm_platform_get_and_ioremap_resource()
2023-07-07 4:06 [PATCH 01/18] mtd: rawnand: sunxi: Use devm_platform_get_and_ioremap_resource() Yangtao Li
` (2 preceding siblings ...)
2023-07-07 4:06 ` [PATCH 07/18] mtd: rawnand: lpc32xx_mlc: " Yangtao Li
@ 2023-07-07 4:06 ` Yangtao Li
2023-07-13 7:57 ` Miquel Raynal
2023-07-11 18:23 ` [PATCH 01/18] mtd: rawnand: sunxi: " Jernej Škrabec
` (2 subsequent siblings)
6 siblings, 1 reply; 13+ messages in thread
From: Yangtao Li @ 2023-07-07 4:06 UTC (permalink / raw)
To: Tudor Ambarus, Miquel Raynal, Richard Weinberger,
Vignesh Raghavendra, Nicolas Ferre, Alexandre Belloni,
Claudiu Beznea
Cc: Yangtao Li, linux-mtd, 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/mtd/nand/raw/atmel/nand-controller.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/mtd/nand/raw/atmel/nand-controller.c b/drivers/mtd/nand/raw/atmel/nand-controller.c
index 81e3d682a8cd..3f494f7c7ecb 100644
--- a/drivers/mtd/nand/raw/atmel/nand-controller.c
+++ b/drivers/mtd/nand/raw/atmel/nand-controller.c
@@ -1791,8 +1791,7 @@ atmel_nand_controller_legacy_add_nands(struct atmel_nand_controller *nc)
nand->numcs = 1;
- res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- nand->cs[0].io.virt = devm_ioremap_resource(dev, res);
+ nand->cs[0].io.virt = devm_platform_get_and_ioremap_resource(pdev, 0, &res);
if (IS_ERR(nand->cs[0].io.virt))
return PTR_ERR(nand->cs[0].io.virt);
--
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] 13+ messages in thread
* Re: [PATCH 01/18] mtd: rawnand: sunxi: Use devm_platform_get_and_ioremap_resource()
2023-07-07 4:06 [PATCH 01/18] mtd: rawnand: sunxi: Use devm_platform_get_and_ioremap_resource() Yangtao Li
` (3 preceding siblings ...)
2023-07-07 4:06 ` [PATCH 10/18] mtd: rawnand: atmel: " Yangtao Li
@ 2023-07-11 18:23 ` Jernej Škrabec
2023-07-12 11:54 ` Miquel Raynal
2023-07-13 7:58 ` Miquel Raynal
6 siblings, 0 replies; 13+ messages in thread
From: Jernej Škrabec @ 2023-07-11 18:23 UTC (permalink / raw)
To: Miquel Raynal, Richard Weinberger, Vignesh Raghavendra,
Chen-Yu Tsai, Samuel Holland, Yangtao Li
Cc: Yangtao Li, linux-mtd, linux-arm-kernel, linux-sunxi,
linux-kernel
Dne petek, 07. julij 2023 ob 06:06:05 CEST je Yangtao Li napisal(a):
> 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>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Best regards,
Jernej
> ---
> drivers/mtd/nand/raw/sunxi_nand.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/mtd/nand/raw/sunxi_nand.c
> b/drivers/mtd/nand/raw/sunxi_nand.c index 9884304634f6..db36bd755b8d 100644
> --- a/drivers/mtd/nand/raw/sunxi_nand.c
> +++ b/drivers/mtd/nand/raw/sunxi_nand.c
> @@ -2087,8 +2087,7 @@ static int sunxi_nfc_probe(struct platform_device
> *pdev) nand_controller_init(&nfc->controller);
> INIT_LIST_HEAD(&nfc->chips);
>
> - r = platform_get_resource(pdev, IORESOURCE_MEM, 0);
> - nfc->regs = devm_ioremap_resource(dev, r);
> + nfc->regs = devm_platform_get_and_ioremap_resource(pdev, 0, &r);
> if (IS_ERR(nfc->regs))
> return PTR_ERR(nfc->regs);
_______________________________________________
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] 13+ messages in thread
* Re: [PATCH 01/18] mtd: rawnand: sunxi: Use devm_platform_get_and_ioremap_resource()
2023-07-07 4:06 [PATCH 01/18] mtd: rawnand: sunxi: Use devm_platform_get_and_ioremap_resource() Yangtao Li
` (4 preceding siblings ...)
2023-07-11 18:23 ` [PATCH 01/18] mtd: rawnand: sunxi: " Jernej Škrabec
@ 2023-07-12 11:54 ` Miquel Raynal
2023-07-12 12:06 ` Miquel Raynal
2023-07-13 7:58 ` Miquel Raynal
6 siblings, 1 reply; 13+ messages in thread
From: Miquel Raynal @ 2023-07-12 11:54 UTC (permalink / raw)
To: Yangtao Li
Cc: Richard Weinberger, Vignesh Raghavendra, Chen-Yu Tsai,
Jernej Skrabec, Samuel Holland, linux-mtd, linux-arm-kernel,
linux-sunxi, linux-kernel
Hi Yangtao,
frank.li@vivo.com wrote on Fri, 7 Jul 2023 12:06:05 +0800:
> 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/mtd/nand/raw/sunxi_nand.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/mtd/nand/raw/sunxi_nand.c b/drivers/mtd/nand/raw/sunxi_nand.c
> index 9884304634f6..db36bd755b8d 100644
> --- a/drivers/mtd/nand/raw/sunxi_nand.c
> +++ b/drivers/mtd/nand/raw/sunxi_nand.c
> @@ -2087,8 +2087,7 @@ static int sunxi_nfc_probe(struct platform_device *pdev)
> nand_controller_init(&nfc->controller);
> INIT_LIST_HEAD(&nfc->chips);
>
> - r = platform_get_resource(pdev, IORESOURCE_MEM, 0);
> - nfc->regs = devm_ioremap_resource(dev, r);
> + nfc->regs = devm_platform_get_and_ioremap_resource(pdev, 0, &r);
Why do you keep a reference over the resource? Why not just
devm_platform_ioremap_resource(pdev, 0) ?
This comment is valid for almost all the cases in this series.
When the resource is only needed in an error printk, I am also in favor
of modifying the error message to avoid having to grab the resource.
> if (IS_ERR(nfc->regs))
> return PTR_ERR(nfc->regs);
>
These comments apply to the 18 patches.
Thanks,
Miquèl
_______________________________________________
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] 13+ messages in thread
* Re: [PATCH 01/18] mtd: rawnand: sunxi: Use devm_platform_get_and_ioremap_resource()
2023-07-12 11:54 ` Miquel Raynal
@ 2023-07-12 12:06 ` Miquel Raynal
0 siblings, 0 replies; 13+ messages in thread
From: Miquel Raynal @ 2023-07-12 12:06 UTC (permalink / raw)
To: Yangtao Li
Cc: Richard Weinberger, Vignesh Raghavendra, Chen-Yu Tsai,
Jernej Skrabec, Samuel Holland, linux-mtd, linux-arm-kernel,
linux-sunxi, linux-kernel
miquel.raynal@bootlin.com wrote on Wed, 12 Jul 2023 13:54:55 +0200:
> Hi Yangtao,
>
> frank.li@vivo.com wrote on Fri, 7 Jul 2023 12:06:05 +0800:
>
> > 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/mtd/nand/raw/sunxi_nand.c | 3 +--
> > 1 file changed, 1 insertion(+), 2 deletions(-)
> >
> > diff --git a/drivers/mtd/nand/raw/sunxi_nand.c b/drivers/mtd/nand/raw/sunxi_nand.c
> > index 9884304634f6..db36bd755b8d 100644
> > --- a/drivers/mtd/nand/raw/sunxi_nand.c
> > +++ b/drivers/mtd/nand/raw/sunxi_nand.c
> > @@ -2087,8 +2087,7 @@ static int sunxi_nfc_probe(struct platform_device *pdev)
> > nand_controller_init(&nfc->controller);
> > INIT_LIST_HEAD(&nfc->chips);
> >
> > - r = platform_get_resource(pdev, IORESOURCE_MEM, 0);
> > - nfc->regs = devm_ioremap_resource(dev, r);
> > + nfc->regs = devm_platform_get_and_ioremap_resource(pdev, 0, &r);
>
> Why do you keep a reference over the resource? Why not just
> devm_platform_ioremap_resource(pdev, 0) ?
>
> This comment is valid for almost all the cases in this series.
Actually 'r' is used at the bottom, so the patch is good. I reviewed
all the patches, 17 look right, I have a minor comment on one of them.
In order to avoid resending all the patches, I'll first apply the 17
good ones and ask you to resend just the last one.
> When the resource is only needed in an error printk, I am also in favor
> of modifying the error message to avoid having to grab the resource.
>
> > if (IS_ERR(nfc->regs))
> > return PTR_ERR(nfc->regs);
> >
>
> These comments apply to the 18 patches.
>
> Thanks,
> Miquèl
Thanks,
Miquèl
_______________________________________________
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] 13+ messages in thread
* Re: [PATCH 10/18] mtd: rawnand: atmel: Use devm_platform_get_and_ioremap_resource()
2023-07-07 4:06 ` [PATCH 10/18] mtd: rawnand: atmel: " Yangtao Li
@ 2023-07-13 7:57 ` Miquel Raynal
0 siblings, 0 replies; 13+ messages in thread
From: Miquel Raynal @ 2023-07-13 7:57 UTC (permalink / raw)
To: Yangtao Li, Tudor Ambarus, Miquel Raynal, Richard Weinberger,
Vignesh Raghavendra, Nicolas Ferre, Alexandre Belloni,
Claudiu Beznea
Cc: linux-mtd, linux-arm-kernel, linux-kernel
On Fri, 2023-07-07 at 04:06:14 UTC, 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>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
_______________________________________________
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] 13+ messages in thread
* Re: [PATCH 07/18] mtd: rawnand: lpc32xx_mlc: Use devm_platform_get_and_ioremap_resource()
2023-07-07 4:06 ` [PATCH 07/18] mtd: rawnand: lpc32xx_mlc: " Yangtao Li
@ 2023-07-13 7:58 ` Miquel Raynal
0 siblings, 0 replies; 13+ messages in thread
From: Miquel Raynal @ 2023-07-13 7:58 UTC (permalink / raw)
To: Yangtao Li, Miquel Raynal, Richard Weinberger,
Vignesh Raghavendra, Vladimir Zapolskiy
Cc: linux-mtd, linux-arm-kernel, linux-kernel
On Fri, 2023-07-07 at 04:06:11 UTC, 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>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
_______________________________________________
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] 13+ messages in thread
* Re: [PATCH 06/18] mtd: rawnand: stm32_fmc2: Use devm_platform_get_and_ioremap_resource()
2023-07-07 4:06 ` [PATCH 06/18] mtd: rawnand: stm32_fmc2: " Yangtao Li
@ 2023-07-13 7:58 ` Miquel Raynal
0 siblings, 0 replies; 13+ messages in thread
From: Miquel Raynal @ 2023-07-13 7:58 UTC (permalink / raw)
To: Yangtao Li, Miquel Raynal, Richard Weinberger,
Vignesh Raghavendra, Maxime Coquelin, Alexandre Torgue
Cc: linux-mtd, linux-stm32, linux-arm-kernel, linux-kernel
On Fri, 2023-07-07 at 04:06:10 UTC, 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>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
_______________________________________________
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] 13+ messages in thread
* Re: [PATCH 02/18] mtd: rawnand: lpc32xx_slc: Use devm_platform_get_and_ioremap_resource()
2023-07-07 4:06 ` [PATCH 02/18] mtd: rawnand: lpc32xx_slc: " Yangtao Li
@ 2023-07-13 7:58 ` Miquel Raynal
0 siblings, 0 replies; 13+ messages in thread
From: Miquel Raynal @ 2023-07-13 7:58 UTC (permalink / raw)
To: Yangtao Li, Miquel Raynal, Richard Weinberger,
Vignesh Raghavendra, Vladimir Zapolskiy
Cc: linux-mtd, linux-arm-kernel, linux-kernel
On Fri, 2023-07-07 at 04:06:06 UTC, 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>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
_______________________________________________
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] 13+ messages in thread
* Re: [PATCH 01/18] mtd: rawnand: sunxi: Use devm_platform_get_and_ioremap_resource()
2023-07-07 4:06 [PATCH 01/18] mtd: rawnand: sunxi: Use devm_platform_get_and_ioremap_resource() Yangtao Li
` (5 preceding siblings ...)
2023-07-12 11:54 ` Miquel Raynal
@ 2023-07-13 7:58 ` Miquel Raynal
6 siblings, 0 replies; 13+ messages in thread
From: Miquel Raynal @ 2023-07-13 7:58 UTC (permalink / raw)
To: Yangtao Li, Miquel Raynal, Richard Weinberger,
Vignesh Raghavendra, Chen-Yu Tsai, Jernej Skrabec, Samuel Holland
Cc: linux-mtd, linux-arm-kernel, linux-sunxi, linux-kernel
On Fri, 2023-07-07 at 04:06:05 UTC, 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>
> Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
_______________________________________________
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] 13+ messages in thread
end of thread, other threads:[~2023-07-13 8:56 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-07 4:06 [PATCH 01/18] mtd: rawnand: sunxi: Use devm_platform_get_and_ioremap_resource() Yangtao Li
2023-07-07 4:06 ` [PATCH 02/18] mtd: rawnand: lpc32xx_slc: " Yangtao Li
2023-07-13 7:58 ` Miquel Raynal
2023-07-07 4:06 ` [PATCH 06/18] mtd: rawnand: stm32_fmc2: " Yangtao Li
2023-07-13 7:58 ` Miquel Raynal
2023-07-07 4:06 ` [PATCH 07/18] mtd: rawnand: lpc32xx_mlc: " Yangtao Li
2023-07-13 7:58 ` Miquel Raynal
2023-07-07 4:06 ` [PATCH 10/18] mtd: rawnand: atmel: " Yangtao Li
2023-07-13 7:57 ` Miquel Raynal
2023-07-11 18:23 ` [PATCH 01/18] mtd: rawnand: sunxi: " Jernej Škrabec
2023-07-12 11:54 ` Miquel Raynal
2023-07-12 12:06 ` Miquel Raynal
2023-07-13 7:58 ` Miquel Raynal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).