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)
commit723a63034eaf10ad36eff28496667f8e2a9f5da3
tree0c25abb62ef32b11f257af6181e8ce33ff29f0aa
parent39e24ac3c309545f1308f0a5d770322b426339ab
Revert "gpio: revert get() to non-errorprogating behaviour"

This reverts commit 45ad7db90b42555c8107f18ec6d6a1e9bce34860.

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