Re: [PATCH v6 33/57] pinctrl: Remove dev_err() usage after platform_get_irq()

From: Linus Walleij
Date: Mon Aug 05 2019 - 07:25:10 EST


On Tue, Jul 30, 2019 at 8:16 PM Stephen Boyd <swboyd@xxxxxxxxxxxx> wrote:

> We don't need dev_err() messages when platform_get_irq() fails now that
> platform_get_irq() prints an error message itself when something goes
> wrong. Let's remove these prints with a simple semantic patch.
(...)
> While we're here, remove braces on if statements that only have one
> statement (manually).
>
> Cc: Linus Walleij <linus.walleij@xxxxxxxxxx>
> Cc: linux-gpio@xxxxxxxxxxxxxxx
> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>

Patch applied to the pinctrl tree!

Nice work.

Yours,
Linus Walleij