memory: emif: simplify platform_get_resource()
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 19 Apr 2022 14:28:54 +0000 (16:28 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 26 Apr 2022 07:48:25 +0000 (09:48 +0200)
commit734058b14de27682a176331ddd49fbdacdac1f46
treeb082b15e7bd8b999515cd172d9752487766e44af
parent933713f5f49b816aa13a6441e41d98febef84dbe
memory: emif: simplify platform_get_resource()

Use devm_platform_ioremap_resource() instead of platform_get_resource()
and devm_ioremap_resource().

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220419142859.380566-2-krzysztof.kozlowski@linaro.org
drivers/memory/emif.c