Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 246a144e authored by Linus Walleij's avatar Linus Walleij
Browse files

gpio: vr41xx: fix up errorpath on probe()



The driver was not checking the return value from gpiochip_add()
properly, so add a bail-out check.

Reported-by: default avatarRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 7cb5409b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment