[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250907142639.489496d4@jic23-huawei>
Date: Sun, 7 Sep 2025 14:26:39 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: David Lechner <dlechner@...libre.com>
Cc: Sean Nyekjaer <sean@...nix.com>, Jean-Baptiste Maneyrol
<jean-baptiste.maneyrol@....com>, rafael@...nel.org, Nuno Sá
<nuno.sa@...log.com>, Andy Shevchenko <andy@...nel.org>,
linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-pm@...r.kernel.org, Jean-Baptiste Maneyrol
<jmaneyrol@...ensense.com>, Jonathan Cameron <Jonathan.Cameron@...wei.com>
Subject: Re: [PATCH v3 4/5] iio: imu: inv_icm42600: Use
devm_regulator_get_enable() for vdd regulator
On Fri, 5 Sep 2025 14:49:05 -0500
David Lechner <dlechner@...libre.com> wrote:
> On 9/1/25 2:49 AM, Sean Nyekjaer wrote:
> > The vdd regulator is not used for runtime power management, so it does
> > not need explicit enable/disable handling.
> > Use devm_regulator_get_enable() to let the regulator be managed
> > automatically by devm.
> >
> > This simplifies the code by removing the manual enable and cleanup
> > logic.
> >
> > Signed-off-by: Sean Nyekjaer <sean@...nix.com>
> > ---
> Reviewed-by: David Lechner <dlechner@...libre.com>
>
I've applied 1-4 to the togreg branch of iio.git targetting
the next merge window. I marked the first 3 for stable inclusion.
Given we are fairly late in the cycle, the breakage isn't recent
and you have additional patches on top (4 and 5 here) I didn't
rush these in via my fixes branch. Hope that works for you,
shout if not.
Thanks,
Jonathan
Powered by blists - more mailing lists