On Mon, 14 Dec 2020 09:57:06 +0100 Linus Walleij <linus.walleij@xxxxxxxxxx> wrote: > On Fri, Dec 11, 2020 at 7:39 PM Stephan Gerhold <stephan@xxxxxxxxxxx> wrote: > > > BMG160 needs VDD and VDDIO regulators that might need to be explicitly > > enabled. Add some rudimentary support to obtain and enable these > > regulators during probe() and disable them using a devm action. > > > > Signed-off-by: Stephan Gerhold <stephan@xxxxxxxxxxx> > > --- > > Changes in v2: > > - Do regulator_bulk_enable() immediately after devm_regulator_bulk_get() > > - Simplify error handling using devm_add_action_or_reset() > > Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Series applied, Thanks, Jonathan > > Yours, > Linus Walleij