Re: [PATCH 3/4] iio: adc: ad7768-1: use devm_regulator_get_enable_read_voltage
From: Marcelo Schmitt
Date: Tue Aug 19 2025 - 14:07:21 EST
On 08/12, Jonathan Santos wrote:
> Use devm_regulator_get_enable_read_voltage function as a standard and
> concise way of reading the voltage from the regulator and keep the
> regulator enabled. Replace the regulator descriptor with the direct
> voltage value in the device struct.
>
> Signed-off-by: Jonathan Santos <Jonathan.Santos@xxxxxxxxxx>
> ---
With David's and Andy's comments addressed:
Reviewed-by: Marcelo Schmitt <marcelo.schmitt@xxxxxxxxxx>