Here comes another round of reducing boilerplate code by simplifying getting reference voltages and dropping more driver remove callbacks. Signed-off-by: David Lechner <dlechner@xxxxxxxxxxxx> --- David Lechner (11): iio: dac: ad5380: use devm_regulator_get_enable_read_voltage() iio: dac: ad5380: drop driver remove callbacks iio: dac: ad5446: use devm_regulator_get_enable_read_voltage() iio: dac: ad5446: drop driver remove callbacks iio: dac: ad5504: use devm_regulator_get_enable_read_voltage() iio: dac: ad5504: drop driver remove callback iio: dac: ad5624r: use devm_regulator_get_enable_read_voltage() iio: dac: ad5624r: drop driver remove callback iio: dac: ad5761: use devm_regulator_get_enable_read_voltage() iio: dac: ad5761: drop driver remove callback iio: dac: ad5770r: use devm_regulator_get_enable_read_voltage() drivers/iio/dac/ad5380.c | 85 +++++++------------------------- drivers/iio/dac/ad5446.c | 77 +++++++---------------------- drivers/iio/dac/ad5504.c | 59 ++++++----------------- drivers/iio/dac/ad5624r.h | 1 - drivers/iio/dac/ad5624r_spi.c | 71 +++++---------------------- drivers/iio/dac/ad5761.c | 109 +++++++++--------------------------------- drivers/iio/dac/ad5770r.c | 41 ++-------------- 7 files changed, 88 insertions(+), 355 deletions(-) --- base-commit: 9090ececac9ff1e22fb7e042f3c886990a8fb090 change-id: 20240813-iio-regulator-refactor-round-5-3248993c93b0 Best regards, -- David Lechner <dlechner@xxxxxxxxxxxx>