[PATCH v1 1/5] gpio: stmpe: Fix IRQ related error messages
Linus Walleij
linus.walleij at linaro.org
Thu Sep 5 04:33:56 PDT 2024
On Mon, Sep 2, 2024 at 3:32 PM Andy Shevchenko
<andriy.shevchenko at linux.intel.com> wrote:
> First of all, remove duplicate message that platform_get_irq()
> does already print. Second, correct the error message when unable
> to register a handler, which is broken in two ways:
> 1) the misleading 'get' vs. 'register';
> 2) missing '\n' at the end.
>
> (Yes, for the curious ones, the dev_*() cases do not require '\n'
> and issue it automatically, but it's better to have them explicit)
>
> Fix all this here.
>
> Fixes: 1882e769362b ("gpio: stmpe: Simplify with dev_err_probe()")
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list