thermal/drivers/mediatek: Use of_address_to_resource()
authorRob Herring <robh@kernel.org>
Sun, 19 Mar 2023 16:32:31 +0000 (11:32 -0500)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 26 Apr 2023 08:38:34 +0000 (10:38 +0200)
commitf0fb67c27160eb1aed1524cf5bf7dbbc3174f1b9
tree07ae9d6f0614ba680a503792b6bcba3939b57eb4
parenta3e9a9a5971164933e0d247125897c2e54587c6b
thermal/drivers/mediatek: Use of_address_to_resource()

Replace of_get_address() and of_translate_address() calls with single
call to of_address_to_resource().

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20230319163231.226738-1-robh@kernel.org
drivers/thermal/mediatek/auxadc_thermal.c