gpio: clean up gpiochip_add error handling
authorJohan Hovold <johan@kernel.org>
Mon, 12 Jan 2015 16:12:26 +0000 (17:12 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 14 Jan 2015 13:25:09 +0000 (14:25 +0100)
commit05aa52033494a13178fb550660aea87cd8a99cfd
tree89f11fc95427cafb0fae2748d5f4c9c4ee9861d7
parent225fce83cb72e1bffb712a33ce47c210c770f8ab
gpio: clean up gpiochip_add error handling

Clean up gpiochip_add error handling.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c