]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: mvebu: Do not hard code error code
authorSachin Kamat <sachin.kamat@linaro.org>
Sat, 21 Dec 2013 07:35:58 +0000 (13:05 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 2 Jan 2014 12:57:10 +0000 (13:57 +0100)
commit74eacabf5ec79e6d8afdba1efc7cf483b8892277
treede2838ad0e241d61efa9038b163be14aced5034c
parente3df1fc4089499de87765680776e451d85fdc4be
gpio: mvebu: Do not hard code error code

Return the appropriate error code instead of hardcoding it.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mvebu.c