Messages in this thread | | | From | "Rafael J. Wysocki" <> | Date | Tue, 1 Mar 2022 15:59:15 +0100 | 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@linaro.org> wrote: > > On Wed, 23 Feb 2022 at 09:09, Sascha Hauer <s.hauer@pengutronix.de> wrote: > > > > On Wed, Feb 23, 2022 at 09:03:23AM +0100, Sascha Hauer wrote: > > > From: Ahmad Fatoum <a.fatoum@pengutronix.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@pengutronix.de> > > > --- > > > drivers/base/power/domain.c | 21 ++++++--------------- > > > 1 file changed, 6 insertions(+), 15 deletions(-) > > > > And of course: > > > > Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> > > Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Applied as 5.18 material, thanks!
| |