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

2022-10-21 Thread Guenter Roeck
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 > Acked-by: Guenter Roeck Applied to hwm

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

2022-10-21 Thread Matti Vaittinen
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 Acked-by: Guenter Roeck --- RFCv1 => v2: - No changes --- drivers/hwmon/lm90.c | 20 ++-- 1 file c