Messages in this thread | | | From | Linus Walleij <> | Date | Mon, 25 May 2020 13:41:29 +0200 | Subject | Re: [PATCH 1/2] pinctrl: Fix return value about devm_platform_ioremap_resource() |
| |
On Sat, May 23, 2020 at 1:45 PM Tiezhu Yang <yangtiezhu@loongson.cn> 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@loongson.cn>
Patch applied!
Yours, Linus Walleij
| |