mbox series

[0/5] iio: adc: use devm_regulator_get_enable_read_voltage round 1

Message ID 20240531-iio-adc-ref-supply-refactor-v1-0-4b313c0615ad@baylibre.com (mailing list archive)
Headers show
Series iio: adc: use devm_regulator_get_enable_read_voltage round 1 | expand

Message

David Lechner May 31, 2024, 9:19 p.m. UTC
Following up from [1], this is the first round of patches to convert the
ADC drivers to use devm_regulator_get_enable_read_voltage().

Some of these are trivial but some aren't so I'm breaking them up into
smaller series to spread out the review load (and my work load).

[1]: https://lore.kernel.org/linux-iio/20240429-regulator-get-enable-get-votlage-v2-0-b1f11ab766c1@baylibre.com

---
David Lechner (5):
      iio: adc: ad7192: use devm_regulator_get_enable_read_voltage
      iio: adc: ad7266: use devm_regulator_get_enable_read_voltage
      iio: adc: ad7292: use devm_regulator_get_enable_read_voltage
      iio: adc: ad7793: use devm_regulator_get_enable_read_voltage
      iio: adc: ad7944: use devm_regulator_get_enable_read_voltage

 drivers/iio/adc/ad7192.c | 98 +++++++++++++++++-------------------------------
 drivers/iio/adc/ad7266.c | 37 +++++-------------
 drivers/iio/adc/ad7292.c | 40 +++++---------------
 drivers/iio/adc/ad7793.c | 24 ++----------
 drivers/iio/adc/ad7944.c | 62 ++++++++++--------------------
 5 files changed, 77 insertions(+), 184 deletions(-)
---
base-commit: 15895709c7dc5f1a8b53b3564fc2bed724209611
change-id: 20240531-iio-adc-ref-supply-refactor-93f962d40c23