thermal/drivers/st: Use devm_platform_get_and_ioremap_resource()
authorMinghao Chi <chi.minghao@zte.com.cn>
Thu, 17 Nov 2022 06:09:52 +0000 (14:09 +0800)
committerDaniel Lezcano <daniel.lezcano@kernel.org>
Wed, 14 Dec 2022 14:25:41 +0000 (15:25 +0100)
commit33dc955c5a2795f17ff81751563836d498ac794f
tree1555799d757d331dac76f91327e72307278559b7
parentbf438ed026199ff0182408d8592b6c11382d1a51
thermal/drivers/st: 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: Minghao Chi <chi.minghao@zte.com.cn>
Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Link: https://lore.kernel.org/r/202211171409524332954@zte.com.cn
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
drivers/thermal/st/stm_thermal.c