thermal/drivers/thermal_mmio: Use devm_platform_get_and_ioremap_resource()
authorye xingchen <ye.xingchen@zte.com.cn>
Wed, 18 Jan 2023 08:41:19 +0000 (16:41 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 18 Jan 2023 21:22:19 +0000 (22:22 +0100)
commitc818c6d15d3693428fa7223f21d423e39dbc33b1
treee97fa3e3fa280a22263858a658cdc86761b3e112
parent2484b632ac994b4b83b2fb817f9a3b8d4a9e0beb
thermal/drivers/thermal_mmio: Use devm_platform_get_and_ioremap_resource()

Convert platform_get_resource(), devm_ioremap_resource() to a single
call to devm_platform_get_and_ioremap_resource(), as this is exactly
what this function does.

Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Link: https://lore.kernel.org/r/202301181641194943741@zte.com.cn
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/thermal/thermal_mmio.c