Jean Delvare 2ab3a749eb gpio-ich: Fix value returned by ichx_gpio_request
Per Documentation/gpio.txt, gpio_request callbacks should return 0 on
success or a negative value on error. So it is not clear what was
meant by letting ichx_gpio_request return 1 in some cases, nor how a
caller would interpret it.

Align the code with the comment above it and consider pins as
available by default.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Peter Tyser <ptyser@xes-inc.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-03-27 09:08:57 +01:00
..
2012-07-05 14:49:13 +02:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:33 -08:00
2012-11-28 11:39:59 -08:00
2011-06-06 10:10:11 -06:00
2012-11-28 11:39:59 -08:00
2013-02-05 13:33:30 +00:00
2012-12-11 13:13:55 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:33 -08:00
2012-11-28 11:39:33 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:33 -08:00
2013-02-26 09:35:29 -08:00
2012-12-11 13:13:55 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2013-02-21 14:58:40 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:33 -08:00
2012-11-28 11:39:33 -08:00
2012-12-11 13:13:55 -08:00
2012-11-28 11:39:59 -08:00
2012-12-11 13:13:55 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2013-02-20 11:04:46 -08:00
2013-02-26 09:35:29 -08:00
2013-02-26 09:35:29 -08:00