]> www.infradead.org Git - users/jedix/linux-maple.git/commit
soc/tegra: pmc: Simplify resource lookup
authorJon Hunter <jonathanh@nvidia.com>
Tue, 11 Jun 2024 07:56:03 +0000 (08:56 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 27 Jun 2024 07:02:31 +0000 (09:02 +0200)
commitcfcd6c46fec46cac3bf6658838d3ea329aff37aa
tree8f960002e46892be76798f056ae0fa50d7f80ce8
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0
soc/tegra: pmc: Simplify resource lookup

Commit 6f4429e21a7f ("soc/tegra: pmc: Update address mapping sequence
for PMC apertures") updated the resource lookup code in the PMC driver.
Instead of calling platform_get_resource_byname() and
devm_ioremap_resource() simplify the code by simply calling
devm_platform_ioremap_resource_byname().

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/pmc.c