]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit676d8282804b55f9d4d23c7ee92d700375ca9fb8
tree60c09f6376310b772a5a0dd9b193cbf91621558e
parente9d5f90a6c3389e3431722ac31f5d63dda6c493a
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