[PATCH v3 0/5] iio: amplifiers: ada4250: various cleanups
From: David Lechner
Date: Wed Jun 11 2025 - 17:33:55 EST
While investigating some potential bugs, we noticed quite a few
opportunities for small improvements in the ada4250 driver.
---
Changes in v3:
- Split into multiple patches.
- Added even more cleanups.
- Link to v2: https://lore.kernel.org/r/20250418-iio-amplifiers-ada4250-simplify-data-buffer-in-init-v2-1-1bf9b033aaf5@xxxxxxxxxxxx
Changes in v2:
- Totally new patch.
- Link to v1: https://lore.kernel.org/r/20250418-iio-amplifiers-ada4250-simplify-data-buffer-in-init-v1-1-7e7bd6dad423@xxxxxxxxxxxx
---
David Lechner (5):
iio: amplifiers: ada4250: used dev local variable
iio: amplifiers: ada4250: don't fail on bad chip ID
iio: amplifiers: ada4250: use devm_regulator_get_enable_read_voltage()
iio: amplifiers: ada4250: move offset_uv in struct
iio: amplifiers: ada4250: use dev_err_probe()
drivers/iio/amplifiers/ada4250.c | 45 ++++++++++++----------------------------
1 file changed, 13 insertions(+), 32 deletions(-)
---
base-commit: 4c6073fec2fee4827fa0dd8a4ab4e6f7bbc05ee6
change-id: 20250418-iio-amplifiers-ada4250-simplify-data-buffer-in-init-93ebb1344295
Best regards,
--
David Lechner <dlechner@xxxxxxxxxxxx>