On Tue, Jun 8, 2021 at 4:28 PM Wei Yongjun <weiyongjun1@xxxxxxxxxx> wrote: > In case of error, the function devm_platform_ioremap_resource_byname() > returns ERR_PTR() and never returns NULL. The NULL test in the return > value check should be replaced with IS_ERR(). > > Fixes: 4195926aedca ("gpio: Add support for IDT 79RC3243x GPIO controller") > Reported-by: Hulk Robot <hulkci@xxxxxxxxxx> > Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx> Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Yours, Linus Walleij