memory: ti-emif-pm: simplify platform_get_resource()
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 19 Apr 2022 14:28:56 +0000 (16:28 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 26 Apr 2022 07:48:25 +0000 (09:48 +0200)
commit8e6a257a173378d0fb42d64865545286f1f84ef6
treec1d56e6c9efe6180d73f6fdb98d131f55e2c7798
parent083008defd83cb1ab6f9efaef6396bf4534ac6eb
memory: ti-emif-pm: simplify platform_get_resource()

Use devm_platform_get_and_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-4-krzysztof.kozlowski@linaro.org
drivers/memory/ti-emif-pm.c