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@xxxxxxxxxxxx> > Reviewed-by: Neil Armstrong <narmstrong@xxxxxxxxxxxx> > Signed-off-by: Liang Yang <liang.yang@xxxxxxxxxxx> Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks. Miquel