# Re: \[PATCH 05/10\] mtd: rawnand: fsl\_upm: Use platform\_get\_resource() + devm\_ioremap\_resource()

- From: Miquel Raynal \<miquel.raynal@bootlin.com\>
- Date: 2020-06-15 09:12:16 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2020/06/9516845
- Thread: https://ratatoskr.run/linuxppc-dev/2020/06/9516502/t.md

```text
On Wed, 2020-06-03 at 13:49:17 UTC, Boris Brezillon wrote:
> Replace the of_address_to_resource() + devm_ioremap() calls by
> platform_get_resource() + devm_ioremap_resource() ones which allows us
> to get rid of one error message since devm_ioremap_resource() already
> takes care of that.
> 
> Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel
```
