On Fri, Feb 8, 2019 at 3:12 PM Axel Lin <[email protected]> wrote: > gpiod_get_index_optional can return ERR_PTR, add IS_ERR checking for it. > While at it, also remove a redundant NULL test for gpiod in error path. > > Signed-off-by: Axel Lin <[email protected]>
Acked-by: Linus Walleij <[email protected]> Yours, Linus Walleij

