diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2014-07-08 09:22:10 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-07-09 12:22:54 +0200 |
commit | 246a144eed4093befc58e00cf3ba55e647977420 (patch) | |
tree | 14b3a30eefd9037232b1ba4f135f32795b6d3e48 /drivers/gpio/gpio-twl4030.c | |
parent | 7cb5409b10d9f8316ca2539591acb6a5f7fd4139 (diff) | |
download | lwn-246a144eed4093befc58e00cf3ba55e647977420.tar.gz lwn-246a144eed4093befc58e00cf3ba55e647977420.zip |
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: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-twl4030.c')
0 files changed, 0 insertions, 0 deletions