leds: ip30: Convert to devm_platform_ioremap_resource()
authorYangtao Li <frank.li@vivo.com>
Tue, 4 Jul 2023 09:47:45 +0000 (17:47 +0800)
committerLee Jones <lee@kernel.org>
Fri, 28 Jul 2023 08:26:21 +0000 (09:26 +0100)
commit7a72f33b6771d37aafe1d396f8d49e5886e6262e
tree8f3299c76165800ec650ed781d772c97f3bd5dfa
parent07a476e04f3479b4c5e2e027859b496a48836028
leds: ip30: Convert to devm_platform_ioremap_resource()

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <frank.li@vivo.com>
Link: https://lore.kernel.org/r/20230704094745.25665-1-frank.li@vivo.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/leds-ip30.c