[PATCH v9 3/5] mtd: rawnand: meson: refine resource getting in probe
Miquel Raynal
miquel.raynal at bootlin.com
Tue Sep 20 01:33:21 PDT 2022
On Wed, 2022-09-07 at 08:04:03 UTC, Liang Yang wrote:
> simply use devm_platform_ioremap_resource_byname() instead of two steps:
> res = platform_get_resource(pdev, IORESOURCE_MEM, 0) and
> reg_base = devm_ioremap_resource(dev, res)
>
> Reviewed-by: Kevin Hilman <khilman at baylibre.com>
> Reviewed-by: Neil Armstrong <narmstrong at baylibre.com>
> Signed-off-by: Liang Yang <liang.yang at amlogic.com>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
More information about the linux-arm-kernel
mailing list