]> git.ipfire.org Git - thirdparty/linux.git/commit
rtc: sunplus: use devm_platform_ioremap_resource_byname()
authorYe Xingchen <ye.xingchen@zte.com.cn>
Wed, 22 Mar 2023 03:31:58 +0000 (11:31 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 28 Apr 2023 06:07:23 +0000 (08:07 +0200)
commit916890539bc8a5674d363a1fc985633200c2117a
treed71918f647bfe38889b032401725f9a3c84a74f1
parentc7a639dac8e4d7e63450bef2f3a19fb331566fb1
rtc: sunplus: use devm_platform_ioremap_resource_byname()

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

Signed-off-by: Ye Xingchen <ye.xingchen@zte.com.cn>
Link: https://lore.kernel.org/r/202303221131581039486@zte.com.cn
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-sunplus.c