Skip to content

i.MX7D ADC improvements

Andrey Smirnov linux-iio lkml 2 versions – Applied

Status from this message: I applied some of these from V1. Please be sure to only send updates

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 4 repliesApplied
  2. v16 patches 8 repliesApplied

Changes [v1] from the cover letter

- 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

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/6iio: imx7d_adc: Add local struct device pointer in imx7d_adc_probe()drivers/iio/adc/imx7d_adc.c+18 -191 reply
2/6iio: imx7d_adc: Replace pr_err with dev_errdrivers/iio/adc/imx7d_adc.c+3 -20 replies
3/6iio: imx7d_adc: Use devm_platform_ioremap_resource()drivers/iio/adc/imx7d_adc.c+1 -30 replies
4/6iio: imx7d_adc: Simplify imx7d_adc_probe() with imx7d_adc_resume()drivers/iio/adc/imx7d_adc.c+36 -521 reply
5/6iio: imx7d_adc: Simplify imx7d_adc_remove() with imx7d_adc_suspend()drivers/iio/adc/imx7d_adc.c+24 -221 reply
6/6iio: imx7d_adc: Use devm_iio_device_register()drivers/iio/adc/imx7d_adc.c+1 -121 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/6] i.MX7D ADC improvements

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/[email protected]

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(-)
Signature · 1 line
2.20.1