]> git.baikalelectronics.ru Git - kernel.git/commit
iio: adc: fsl-imx25-gcq: Use devm_platform_ioremap_resource
authorAishwarya Ramakrishnan <aishwaryarj100@gmail.com>
Sun, 12 Apr 2020 13:50:20 +0000 (19:20 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Apr 2020 15:56:41 +0000 (16:56 +0100)
commit73bed20b79e77fcca2fefbb45c142a2b196f1440
tree2dec87e5d04bcee64157e5593e209fda8d94c391
parentf5000a1595fcdc36bf3f3ea962773549bb239c85
iio: adc: fsl-imx25-gcq: Use devm_platform_ioremap_resource

Use the helper function that wraps the calls to
platform_get_resource() and devm_ioremap_resource()
together. It reduces boilerplate and suggested by coccinelle.

Signed-off-by: Aishwarya Ramakrishnan <aishwaryarj100@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/fsl-imx25-gcq.c