iio: adc: rockchip_saradc: Make use of the helper function devm_platform_ioremap_reso...
authorCai Huoqing <caihuoqing@baidu.com>
Wed, 8 Sep 2021 10:56:30 +0000 (18:56 +0800)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 17 Oct 2021 10:05:54 +0000 (11:05 +0100)
commit948b3b3daf2ba8c21b04d5d797d772b0bebdc91d
tree5ca1b778207d66b2ebb4ff901a69a6fdc6635e9f
parent7685f507986548901ef1178baaf692e902095eb2
iio: adc: rockchip_saradc: Make use of the helper function devm_platform_ioremap_resource()

Use the devm_platform_ioremap_resource() helper instead of
calling platform_get_resource() and devm_ioremap_resource()
separately

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Link: https://lore.kernel.org/r/20210908105631.1474-1-caihuoqing@baidu.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/rockchip_saradc.c