Everyone: This series is a number of small improvements I made to i.MX7D ADC driver. Hopefully each patch is self-explanatory. Feedback is welcome! Thanks, Andrey Smirnov Changes [v1]: - Renamed imx7d_adc_resume() to imx7d_adc_enable() - Renamed imx7d_adc_suspend() to imx7d_adc_disable() - Reordered the series to have "iio: imx7d_adc: Use devm_iio_device_register()" as the last patch to avoid concurrency problems during removal [v1] lore.kernel.org/lkml/20190403070325.1077-1-andrew.smirnov@xxxxxxxxx Andrey Smirnov (6): iio: imx7d_adc: Add local struct device pointer in imx7d_adc_probe() iio: imx7d_adc: Replace pr_err with dev_err iio: imx7d_adc: Use devm_platform_ioremap_resource() iio: imx7d_adc: Simplify imx7d_adc_probe() with imx7d_adc_resume() iio: imx7d_adc: Simplify imx7d_adc_remove() with imx7d_adc_suspend() iio: imx7d_adc: Use devm_iio_device_register() drivers/iio/adc/imx7d_adc.c | 175 +++++++++++++++--------------------- 1 file changed, 74 insertions(+), 101 deletions(-) -- 2.20.1