Re: [PATCH v4 3/4] hwmon: lm90: simplify using devm_regulator_get_enable()

From: Guenter Roeck
Date: Fri Oct 21 2022 - 13:22:02 EST


On Fri, Oct 21, 2022 at 04:18:43PM +0300, Matti Vaittinen wrote:
> Drop open-coded pattern: 'devm_regulator_get(), regulator_enable(),
> add_action_or_reset(regulator_disable)' and use the
> devm_regulator_get_enable().
>
> Signed-off-by: Matti Vaittinen <mazziesaccount@xxxxxxxxx>
> Acked-by: Guenter Roeck <linux@xxxxxxxxxxxx>

Applied to hwmon-next.

Thanks,
Guenter