Re: [PATCH 1/2] pinctrl: Fix return value about devm_platform_ioremap_resource()

From: Linus Walleij
Date: Mon May 25 2020 - 07:41:45 EST


On Sat, May 23, 2020 at 1:45 PM Tiezhu Yang <yangtiezhu@xxxxxxxxxxx> wrote:

> When call function devm_platform_ioremap_resource(), we should use IS_ERR()
> to check the return value and return PTR_ERR() if failed.
>
> Fixes: 4b024225c4a8 ("pinctrl: use devm_platform_ioremap_resource() to simplify code")
> Signed-off-by: Tiezhu Yang <yangtiezhu@xxxxxxxxxxx>

Patch applied!

Yours,
Linus Walleij