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 changed since there is only one error return now. > LTC2309_INTERNAL_REF_MV macro is added to make the internal reference > voltage value self-documenting. > > Signed-off-by: David Lechner <dlechner@xxxxxxxxxxxx> > --- Reviewed-by: Nuno Sa <nuno.sa@xxxxxxxxxx>