memory: tegra: Use devm_platform_ioremap_resource()
authorDmitry Osipenko <digetx@gmail.com>
Wed, 4 Nov 2020 16:49:05 +0000 (19:49 +0300)
committerKrzysztof Kozlowski <krzk@kernel.org>
Thu, 26 Nov 2020 17:50:35 +0000 (18:50 +0100)
commit4e84d0a6e1206fda47395b5d3af1453e013d7b38
tree73782b43f0978ff3f780494e355cb9cf714c7888
parent6c6bd2075f01f8c8ae4bc803ba5cd23a3d3db533
memory: tegra: Use devm_platform_ioremap_resource()

Use devm_platform_ioremap_resource() helper which makes code a bit
cleaner.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20201104164923.21238-30-digetx@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
drivers/memory/tegra/tegra124-emc.c
drivers/memory/tegra/tegra20-emc.c