Re: [PATCH 41/61] pinctrl: Prefer IS_ERR_OR_NULL over manual NULL check
From: Linus Walleij
Date: Wed Mar 11 2026 - 05:56:45 EST
On Tue, Mar 10, 2026 at 12:55 PM Philipp Hahn <phahn-oss@xxxxxx> wrote:
> Prefer using IS_ERR_OR_NULL() over using IS_ERR() and a manual NULL
> check.
>
> Change generated with coccinelle.
>
> To: Linus Walleij <linusw@xxxxxxxxxx>
> Cc: linux-gpio@xxxxxxxxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> Signed-off-by: Philipp Hahn <phahn-oss@xxxxxx>
Patch applied to the pinctrl tree as obviously correct.
Yours,
Linus Walleij