On Thu, Aug 17, 2023 at 4:21 AM Ruan Jinjie <ruanjinjie@xxxxxxxxxx> wrote: > The devm_pinctrl_get() function returns error pointers and never > returns NULL. Update the checks accordingly. > > Fixes: 543aa2c4da8b ("i2c: at91: Move to generic GPIO bus recovery") > Fixes: fd8961c5ba9e ("i2c: imx: make bus recovery through pinctrl optional") > Signed-off-by: Ruan Jinjie <ruanjinjie@xxxxxxxxxx> That's right. Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Thanks for fixing this Ruan! Yours, Linus Walleij