thermal/drivers/dove: Use devm_platform_get_and_ioremap_resource()
authorye xingchen <ye.xingchen@zte.com.cn>
Wed, 18 Jan 2023 08:33:05 +0000 (16:33 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 18 Jan 2023 21:18:47 +0000 (22:18 +0100)
commitb5d6ec4d3a7e59be371e48ae7f60a66a22e51ea5
tree08ce9592ae064658c0dcb2f38e870b1302fcfa2e
parent142887ec975b0791d92242f5a8e18e5dc5f15800
thermal/drivers/dove: 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/202301181633059433484@zte.com.cn
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/thermal/dove_thermal.c