iio: ep93xx: Make use of the helper function devm_platform_ioremap_resource()
authorCai Huoqing <caihuoqing@baidu.com>
Wed, 8 Sep 2021 10:56:45 +0000 (18:56 +0800)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 17 Oct 2021 10:05:53 +0000 (11:05 +0100)
commitf27d1e769746b09d618dfbe341224a2e181b067d
treeb470e63589dd67273bdc32413a90dbb77007ba40
parent327a0eaf19d53efc77f7073a43b2b0712bc6364d
iio: ep93xx: 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/20210908105646.1576-1-caihuoqing@baidu.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ep93xx_adc.c