[PATCH 10/10] iio: dac: ad3552r: use devm_regulator_get_enable_read_voltage()

Nuno Sá noname.nuno at gmail.com
Mon Jun 24 18:18:16 AEST 2024


On Fri, 2024-06-21 at 17:11 -0500, David Lechner wrote:
> Use devm_regulator_get_enable_read_voltage() to simplify the code.
> Error message is slightly changed since there is only one error return
> now.
> 
> Signed-off-by: David Lechner <dlechner at baylibre.com>
> ---

Reviewed-by: Nuno Sa <nuno.sa at analog.com>




More information about the Linux-aspeed mailing list