On 10/16/22 19:34, Jonathan Cameron wrote: > From: Jonathan Cameron > > This driver only turns the power for some regulators on at probe and off > via a custom devm_add_action_or_reset() callback. The new > devm_regulator_bulk_get_enable() replaces all this boilerplate code. > > Signed-off-by: Jonathan Cameron > Cc: Gwendal Grignou > Cc: Stephen Boyd Reviewed-by: Matti Vaittinen > --- > drivers/iio/proximity/sx_common.c | 23 +++-------------------- > drivers/iio/proximity/sx_common.h | 2 -- > 2 files changed, 3 insertions(+), 22 deletions(-) > -- Matti Vaittinen Linux kernel developer at ROHM Semiconductors Oulu Finland ~~ When things go utterly wrong vim users can always type :help! ~~