]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl/abx500: replace incorrect return value
authorLee Jones <lee.jones@linaro.org>
Thu, 20 Dec 2012 11:11:19 +0000 (11:11 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Feb 2013 12:54:22 +0000 (13:54 +0100)
commit1f6fca396efd6552f117c426bfa492fb1221fae5
treedf46274b591a1eae4aa592b9da4a00f4e9c6b0ae
parent32eae5dc1e894ce071892fd83e3f8fb1b44bef6c
pinctrl/abx500: replace incorrect return value

Currently in the empty abx500_pin_config_get() function, we're
returning -EINVAL, with a comment stating that the reason for the
failure is that the function isn't implemented yet. Well there's
a proper return code for that. If we use it, we can do away with
the comment too, as it would be implied.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-abx500.c