gpio: rcar: clamp returned value to [0,1]
While it will be clamped to bool by gpiolib, let's make this sane in the driver as well. Signed-off-by: NJürg Billeter <j@bitron.ch> Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
Showing
想要评论请 注册 或 登录