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)
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

Simple merge