Skip to content

iio: adc: Maxim and TI ADC driver cleanups

Jonathan Cameron linux-iio 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8iio: adc: max11100: Use get_unaligned_be16() rather than opencoding.drivers/iio/adc/max11100.c+2 -11 reply
2/8iio: adc: max11100: Use devm_ functions for rest of probe()drivers/iio/adc/max11100.c+9 -202 replies
3/8iio: adc: max1118: Use devm_ managed functions for all of probedrivers/iio/adc/max1118.c+15 -311 reply
4/8iio: adc: max1118: Avoid jumping back and forth between spi and iio structuresdrivers/iio/adc/max1118.c+9 -131 reply
5/8iio: adc: ti-adc081c: Use devm managed functions for all of probe()drivers/iio/adc/ti-adc081c.c+14 -291 reply
6/8iio: adc: ti-adc0832: Use devm managed functions for all of probe()drivers/iio/adc/ti-adc0832.c+12 -271 reply
7/8iio: adc: ti-adc108s102: Use devm managed functions for all of probe()drivers/iio/adc/ti-adc108s102.c+15 -303 replies
8/8iio: adc: ti-adc161s626: Use devm managed functions for all of probe.drivers/iio/adc/ti-adc161s626.c+18 -322 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchMatt RanostayAlexandru Ardelean
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b
8/8A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] iio: adc: Maxim and TI ADC driver cleanups

From: Jonathan Cameron <[email protected]>

A few random bits of tidying up for a Sunday evening.
Mostly devm stuff, but other things in here as well that came up whilst I was looking.

Note this was a fairly random selection, so isn't implying there aren't similar cleanups to be done in other TI and Maxim drivers. (there definitely are plenty more of these if anyone is bored ;)

Cc Alexandru Ardelean <[email protected]>

Jonathan Cameron (8):
iio: adc: max11100: Use get_unaligned_be16() rather than opencoding.
iio: adc: max11100: Use devm_ functions for rest of probe()
iio: adc: max1118: Use devm_ managed functions for all of probe
iio: adc: max1118: Avoid jumping back and forth between spi and iio
structures
iio: adc: ti-adc081c: Use devm managed functions for all of probe()
iio: adc: ti-adc0832: Use devm managed functions for all of probe()
iio: adc: ti-adc108s102: Use devm managed functions for all of probe()
iio: adc: ti-adc161s626: Use devm managed functions for all of probe.

 drivers/iio/adc/max11100.c      | 32 ++++++----------
 drivers/iio/adc/max1118.c       | 68 ++++++++++++---------------------
 drivers/iio/adc/ti-adc081c.c    | 43 +++++++--------------
 drivers/iio/adc/ti-adc0832.c    | 39 ++++++-------------
 drivers/iio/adc/ti-adc108s102.c | 45 ++++++++--------------
 drivers/iio/adc/ti-adc161s626.c | 50 +++++++++---------------
 6 files changed, 94 insertions(+), 183 deletions(-)
Signature · 1 line
2.31.1