ARM: EXYNOS: Use of_address_to_resource()
authorRob Herring <robh@kernel.org>
Sun, 19 Mar 2023 16:31:44 +0000 (11:31 -0500)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 22 Mar 2023 17:47:01 +0000 (18:47 +0100)
commitcb56f508e541036ad41cb9a5afb46339b2f83b9f
tree22436ca0c08bdfba4638c9b65fc57bb2b0b234d5
parent2b8ed0c89f5dc7af756473651deb1be1770d2136
ARM: EXYNOS: Use of_address_to_resource()

Replace of_get_address() and of_translate_address() with single call
to of_address_to_resource(). With this, use ioremap() instead of
of_iomap() which would parse "reg" a second time.

Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230319163145.225323-1-robh@kernel.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm/mach-exynos/exynos.c