nvmem: sunxi_sid: Convert to devm_platform_ioremap_resource()
authorYangtao Li <frank.li@vivo.com>
Wed, 23 Aug 2023 13:27:24 +0000 (14:27 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Aug 2023 14:34:00 +0000 (16:34 +0200)
commit9ccfcbeb8f32ff89e99b36cb9cdebaa0d1b44ed1
tree85abdaea935020f2224ac5019a1567c4eed06eaa
parentd63a42257065a5f8b992c9a687015822a6ae3c2e
nvmem: sunxi_sid: Convert to devm_platform_ioremap_resource()

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <frank.li@vivo.com>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20230823132744.350618-3-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/sunxi_sid.c