]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commit3509c6fa05f013047b6039e2a134cd1e2db76114
treede2838ad0e241d61efa9038b163be14aced5034c
parent5ea80e4910cd47270ae4c13b1fce0899aaa28410
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