Re: [PATCH next] pinctrl: amd: isp411: Fix IS_ERR() vs NULL check in probe()
From: Linus Walleij
Date: Fri Mar 14 2025 - 06:35:13 EST
On Mon, Mar 10, 2025 at 11:52 AM Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote:
> The platform_get_resource() returns NULL on error. It doesn't
> return error pointers. Fix the error checking to match.
>
> Fixes: e97435ab09f3 ("pinctrl: amd: isp411: Add amdisp GPIO pinctrl")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
Patch applied!
Yours,
Linus Walleij