Messages in this thread | | | From | "Sa, Nuno" <> | Subject | RE: [PATCH v3 07/14] iio: ltc2688: Simplify using devm_regulator_*get_enable() | Date | Tue, 30 Aug 2022 11:34:26 +0000 |
| |
> From: Matti Vaittinen <mazziesaccount@gmail.com> > Sent: Friday, August 19, 2022 9:19 PM > To: Matti Vaittinen <mazziesaccount@gmail.com>; Matti Vaittinen > <matti.vaittinen@fi.rohmeurope.com> > Cc: Sa, Nuno <Nuno.Sa@analog.com>; Jonathan Cameron > <jic23@kernel.org>; Lars-Peter Clausen <lars@metafoo.de>; linux- > iio@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: [PATCH v3 07/14] iio: ltc2688: Simplify using > devm_regulator_*get_enable() > > [External] > > Use devm_regulator_bulk_get_enable() instead of open coded bulk- > get, > bulk-enable, add-action-to-disable-at-detach - pattern. > > Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com> >
FWIW, I also don't care that much about the whole variable scope discussion... Hence, with the change requested by Jonathan:
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
| |