Files
linux/drivers
Linus Walleij db30aaef31 gpio: msic: Be sure to clamp return value
As we want gpio_chip .get() calls to be able to return negative
error codes and propagate to drivers, we need to go over all
drivers and make sure their return values are clamped to [0,1].
We do this by using the ret = !!(val) design pattern.

Acked-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2015-12-26 22:28:18 +01:00
..
2015-11-19 09:24:35 +01:00
2015-12-21 09:36:21 +01:00
2015-12-21 09:36:21 +01:00
2015-11-19 09:24:35 +01:00
2015-10-29 09:02:16 +09:00
2015-12-21 09:36:21 +01:00
2015-11-19 09:24:35 +01:00
2015-11-08 16:24:43 -05:00
2015-12-21 10:02:47 +01:00
2015-12-21 09:36:21 +01:00