mfd: stm32-timers: Use devm_platform_get_and_ioremap_resource()
authorYangtao Li <frank.li@vivo.com>
Thu, 6 Jul 2023 11:39:38 +0000 (19:39 +0800)
committerLee Jones <lee@kernel.org>
Fri, 18 Aug 2023 20:48:00 +0000 (21:48 +0100)
commit4c0104bf903fa9be39a7e1227eef8bca81c17bca
tree5bed6bd4b458ac5c2972ccddf1cc788946d7176b
parent390a3549fcd2fc96bc01a0b95a2c1028e74cc943
mfd: stm32-timers: 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: Yangtao Li <frank.li@vivo.com>
Link: https://lore.kernel.org/r/20230706113939.1178-6-frank.li@vivo.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/stm32-timers.c