misc: atmel-ssc: Use devm_platform_get_and_ioremap_resource()
authorYangtao Li <frank.li@vivo.com>
Fri, 7 Jul 2023 02:42:21 +0000 (10:42 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Aug 2023 13:38:45 +0000 (15:38 +0200)
commitc6695aadca5dd469d04352eab57c7ee65f54c1fb
tree2fbf307a2288b79a6e3e4be694cb2c217418b8ea
parent9ab5465349c01fdc0ef0d9446f790df5f36caa5f
misc: atmel-ssc: 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/20230707024224.78907-1-frank.li@vivo.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/atmel-ssc.c