[PATCH -next] pinctrl: stmfx: Do not check for 0 return after calling platform_get_irq()

Linus Walleij linus.walleij at linaro.org
Thu Aug 10 01:11:53 PDT 2023


On Thu, Aug 3, 2023 at 11:44 AM Ruan Jinjie <ruanjinjie at huawei.com> wrote:

> Since commit ce753ad1549c ("platform: finally disallow IRQ0 in
> platform_get_irq() and its ilk"), there is no possible for
> platform_get_irq() to return 0. Use the return value
> from platform_get_irq().
>
> Signed-off-by: Ruan Jinjie <ruanjinjie at huawei.com>

Patch applied.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list