mfd: stm32-lptimer: Use devm_platform_get_and_ioremap_resource()
authorMinghao Chi <chi.minghao@zte.com.cn>
Tue, 22 Nov 2022 01:45:58 +0000 (09:45 +0800)
committerLee Jones <lee@kernel.org>
Thu, 8 Dec 2022 12:38:47 +0000 (12:38 +0000)
commitf359c3e5794ce1897e95d95f5c3f804018077b52
tree0015303213ccaf1b2224db184531dad783a9a581
parent959ecba7f5b7a821fc3bf742223f58c489db4bee
mfd: stm32-lptimer: 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>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/202211220945587336502@zte.com.cn
drivers/mfd/stm32-lptimer.c