Axel Lin cfb10898ef gpio: Don't override the error code in probe error handling
Otherwise, we return 0 in probe error paths when gpiochip_remove() returns 0.
Also show error message if gpiochip_remove() fails.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Cc: Tomoya MORINAGA <tomoya.rohm@gmail.com>
Cc: Denis Turischev <denis@compulab.co.il>
Cc: Lars Poeschel <poeschel@lemonage.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-05-20 20:27:30 +02:00
..
2013-05-09 16:33:42 -07:00
2013-05-07 11:22:14 -07:00
2013-05-07 20:16:25 -07:00
2013-04-29 00:08:46 +02:00
2013-04-26 22:30:25 +02:00
2013-05-09 10:11:08 -07:00
2013-05-09 09:59:16 -07:00
2013-05-06 13:07:33 +02:00
2013-05-09 09:59:16 -07:00
2013-05-09 09:59:16 -07:00
2013-05-06 14:59:13 -07:00
2013-05-09 09:59:16 -07:00
2013-05-10 14:37:21 +01:00
2013-04-16 00:39:41 +02:00
2013-05-09 10:21:44 -07:00
2013-05-09 09:59:16 -07:00
2013-05-07 14:04:56 -07:00
2013-05-07 14:02:00 -07:00
2013-05-09 09:59:16 -07:00
2013-05-09 09:59:16 -07:00
2013-05-02 14:02:32 -07:00
2013-05-07 10:13:52 -07:00
2013-05-09 09:59:16 -07:00
2013-05-11 16:19:30 -07:00
2013-05-04 12:31:18 -07:00
2013-05-04 12:31:18 -07:00