Re: [PATCH v6 15/57] gpio: Remove dev_err() usage after platform_get_irq()

From: Linus Walleij
Date: Mon Aug 05 2019 - 07:26:41 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: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
> Cc: linux-gpio@xxxxxxxxxxxxxxx
> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>

Patch applied!

Yours,
Linus Walleij