memory: ti-emif: simplify platform_get_resource()
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 19 Apr 2022 14:28:55 +0000 (16:28 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 26 Apr 2022 07:48:25 +0000 (09:48 +0200)
commit083008defd83cb1ab6f9efaef6396bf4534ac6eb
tree04fda9c97a22b12aed8dc55eb03cd1eba930a2c3
parent734058b14de27682a176331ddd49fbdacdac1f46
memory: ti-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-3-krzysztof.kozlowski@linaro.org
drivers/memory/ti-aemif.c