]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "gpio: revert get() to non-errorprogating behaviour"
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 21 Dec 2015 22:10:12 +0000 (23:10 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 26 Dec 2015 21:28:42 +0000 (22:28 +0100)
commited1adccd53af5ce33265ad80b43772df0d22b426
tree0c25abb62ef32b11f257af6181e8ce33ff29f0aa
parente88f7f84767e8e989e637c93026ac59f3e801c77
Revert "gpio: revert get() to non-errorprogating behaviour"

This reverts commit 28f685938aa15e9becd8007046ec67ab9775e081.

We have fixed all the drivers that were returning ambious values
not clamped to [0,1] or an error code, so return the error
propagating behaviour of the API.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c