[PATCH 3/5] gpio: nomadik: drop duplicate probe error line
Linus Walleij
linusw at kernel.org
Thu Jul 2 00:59:11 PDT 2026
On Wed, Jul 1, 2026 at 6:57 PM Théo Lebrun <theo.lebrun at bootlin.com> wrote:
> Now that all error codepaths in nmk_gpio_populate_chip() log an error,
> drop dev_err() call that is made on nmk_gpio_populate_chip() failure.
>
> Current boot log:
>
> [ 0.544230] nomadik-gpio 1400000.gpio: failed getting reset control: -EPROBE_DEFER
> [ 0.544274] nomadik-gpio 1400000.gpio: could not populate nmk chip struct
>
> The second line is always redundant (or is logged when we shouldn't log,
> like ioremap or alloc failures).
>
> Signed-off-by: Théo Lebrun <theo.lebrun at bootlin.com>
Reviewed-by: Linus Walleij <linusw at kernel.org>
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list