[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJZ5v0i2-U4CYbw2uxm=BstQdKMbunh-oW_-SBV+Afh4d_e33w@mail.gmail.com>
Date: Tue, 1 Mar 2022 15:59:15 +0100
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: Ulf Hansson <ulf.hansson@...aro.org>,
Sascha Hauer <s.hauer@...gutronix.de>
Cc: Linux PM <linux-pm@...r.kernel.org>,
Kevin Hilman <khilman@...nel.org>,
Ahmad Fatoum <a.fatoum@...gutronix.de>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Sascha Hauer <Kernel@...gutronix.de>,
"Rafael J . Wysocki" <rafael@...nel.org>
Subject: Re: [PATCH] PM: domains: use dev_err_probe() to simplify error handling
On Tue, Mar 1, 2022 at 10:44 AM Ulf Hansson <ulf.hansson@...aro.org> wrote:
>
> On Wed, 23 Feb 2022 at 09:09, Sascha Hauer <s.hauer@...gutronix.de> wrote:
> >
> > On Wed, Feb 23, 2022 at 09:03:23AM +0100, Sascha Hauer wrote:
> > > From: Ahmad Fatoum <a.fatoum@...gutronix.de>
> > >
> > > dev_err_probe() can reduce code size, makes the code easier to read
> > > and has the added benefit of recording the defer reason for later
> > > read out. Use it where appropriate.
> > >
> > > This also fixes an issue, where an error message in __genpd_dev_pm_attach
> > > was not terminated by a line break.
> > >
> > > Signed-off-by: Ahmad Fatoum <a.fatoum@...gutronix.de>
> > > ---
> > > drivers/base/power/domain.c | 21 ++++++---------------
> > > 1 file changed, 6 insertions(+), 15 deletions(-)
> >
> > And of course:
> >
> > Signed-off-by: Sascha Hauer <s.hauer@...gutronix.de>
>
> Acked-by: Ulf Hansson <ulf.hansson@...aro.org>
Applied as 5.18 material, thanks!
Powered by blists - more mailing lists