gpio: sodaville: fix some error return code on error path
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 16 Dec 2013 05:52:04 +0000 (13:52 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 20 Dec 2013 09:23:18 +0000 (10:23 +0100)
commite6ae9195909a51fb8c3a7e95c2568aefe9bc912f
tree60c09f6376310b772a5a0dd9b193cbf91621558e
parentca0ae81d13d9ddb8b94fadc11d5c76b5499ac1b9
gpio: sodaville: fix some error return code on error path

Fix to return a negative error code from the error handling
case instead of 0.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-sodaville.c