Linus Walleij
f7d6236696
mfd: htc-egpio: 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.
Cc: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2016-01-14 08:43:26 +00:00
..
2015-11-20 01:22:52 +01:00
2015-11-13 20:35:54 -08:00
2015-11-20 01:22:33 +01:00
2015-11-13 09:24:40 -08:00
2015-11-10 18:11:41 -08:00
2015-11-10 15:00:03 -08:00
2015-11-16 06:28:43 -06:00
2015-11-12 15:26:39 -08:00
2015-11-16 19:07:08 +01:00
2015-11-06 17:50:42 -08:00
2015-11-20 01:22:10 +01:00
2015-11-17 09:40:05 -08:00
2015-11-16 09:21:05 +05:30
2015-10-30 01:16:16 -04:00
2015-11-06 14:22:15 -08:00
2015-11-11 10:21:34 -08:00
2015-11-10 15:00:03 -08:00
2015-10-29 15:20:25 -07:00
2016-01-11 06:41:39 +00:00
2015-11-20 09:45:31 +10:00
2015-11-17 00:24:14 +01:00
2015-10-30 16:10:40 +01:00
2015-11-04 16:24:33 +01:00
2015-11-16 09:59:50 -08:00
2015-11-13 20:04:17 -08:00
2015-11-20 16:22:21 +01:00
2015-11-06 17:50:42 -08:00
2015-11-18 13:15:50 -08:00
2015-11-13 20:35:54 -08:00
2015-11-13 21:41:14 -08:00
2015-11-09 09:10:49 +01:00
2015-11-17 14:25:59 +01:00
2015-11-04 21:35:12 -08:00
2015-11-05 13:15:12 -08:00
2015-11-07 10:40:46 -07:00
2015-11-04 14:03:04 +05:30
2015-10-29 09:02:16 +09:00
2015-11-10 17:23:49 -08:00
2015-11-20 16:17:32 -08:00
2015-11-10 15:00:03 -08:00
2015-11-12 07:06:18 -05:00
2016-01-14 08:43:26 +00:00
2015-11-13 20:04:17 -08:00
2015-11-09 14:04:52 +01:00
2015-11-16 10:51:39 -08:00
2015-11-20 16:17:32 -08:00
2015-11-10 18:11:41 -08:00
2015-11-08 16:24:43 -05:00
2015-11-12 09:55:23 -08:00
2015-11-11 09:36:57 -07:00
2015-11-12 11:50:33 -08:00
2015-11-10 16:32:11 -08:00
2015-11-20 01:22:52 +01:00
2015-11-04 14:47:13 -08:00
2015-11-09 17:44:24 -05:00
2015-11-02 12:59:12 -08:00
2015-11-13 21:53:18 -08:00
2015-11-06 10:23:50 -08:00
2015-11-11 09:16:10 -08:00
2015-11-24 11:11:16 +00:00
2015-11-23 10:34:38 +00:00
2015-11-18 08:59:29 -08:00
2015-11-13 20:35:54 -08:00
2015-11-17 02:12:46 +09:00
2015-11-10 15:00:03 -08:00
2015-11-04 11:02:16 +00:00
2015-11-04 22:15:15 -08:00
2015-10-28 21:05:21 +02:00
2015-11-18 13:22:44 -08:00
2015-11-13 20:35:54 -08:00
2015-11-11 19:52:39 -08:00
2015-11-20 16:19:54 -08:00
2015-11-19 16:31:42 -08:00
2015-11-04 21:50:37 -08:00
2015-11-13 17:05:32 -08:00
2015-11-13 20:04:17 -08:00
2015-11-10 10:00:09 -08:00
2015-11-04 22:15:15 -08:00
2015-11-05 12:28:15 -08:00
2015-11-10 10:11:12 -08:00
2015-11-13 20:04:17 -08:00
2015-11-04 22:15:15 -08:00
2015-11-04 22:15:15 -08:00