Linus Walleij
13e676be08
fbdev: via-gpio: 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: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2016-01-05 10:28:03 +01:00
..
2015-10-08 12:24:12 +03:00
2015-09-30 10:46:55 +03:00
2014-12-14 16:10:09 -08:00
2015-06-03 12:41:53 +03:00
2015-06-03 12:41:51 +03:00
2015-06-03 12:41:49 +03:00
2015-08-25 09:59:44 +02:00
2015-06-03 12:41:49 +03:00
2015-09-24 14:35:36 +03:00
2014-07-01 13:32:30 +03:00
2015-10-28 10:30:17 +09:00
2015-06-03 12:41:50 +03:00
2015-11-10 10:00:09 -08:00
2015-12-09 12:57:13 +02:00
2015-06-03 12:41:52 +03:00
2015-06-03 12:41:50 +03:00
2015-06-03 12:41:50 +03:00
2015-11-06 17:50:42 -08:00
2016-01-05 10:28:03 +01:00
2014-06-24 10:55:13 +03:00
2014-04-17 08:10:19 +03:00
2014-04-17 08:10:19 +03:00
2014-06-27 10:15:22 +02:00
2015-02-26 10:23:15 +02:00
2015-06-23 16:23:30 -07:00
2014-04-17 08:10:19 +03:00
2015-08-25 09:59:45 +02:00
2014-04-17 08:10:19 +03:00
2014-04-17 08:10:19 +03:00
2014-04-17 08:10:19 +03:00
2014-04-17 08:10:19 +03:00
2014-04-17 08:10:19 +03:00
2014-04-17 08:10:19 +03:00
2015-06-07 15:28:57 +02:00
2014-04-17 08:10:19 +03:00
2015-09-02 14:24:51 +03:00
2014-10-20 16:21:51 +02:00
2014-07-30 14:10:39 +02:00
2014-10-20 16:21:51 +02:00
2014-04-17 08:10:19 +03:00
2014-04-17 08:10:19 +03:00
2014-04-17 08:10:19 +03:00
2014-10-20 16:21:51 +02:00
2014-10-20 16:21:51 +02:00
2014-10-20 16:21:51 +02:00
2014-10-20 16:21:51 +02:00
2014-07-01 13:18:38 +03:00
2014-04-17 08:10:19 +03:00
2014-04-17 08:10:19 +03:00
2014-10-20 16:21:51 +02:00
2015-09-30 10:33:57 +03:00
2014-04-17 08:10:19 +03:00
2014-04-17 08:10:19 +03:00
2014-10-20 16:21:51 +02:00
2014-04-17 08:10:19 +03:00
2014-04-17 08:10:19 +03:00
2014-04-17 08:10:19 +03:00
2014-04-17 08:10:19 +03:00
2014-04-17 08:10:19 +03:00
2014-04-17 08:10:19 +03:00
2014-04-17 08:10:19 +03:00
2014-10-20 16:21:51 +02:00
2014-10-20 16:21:51 +02:00
2014-10-20 16:21:51 +02:00
2014-08-26 12:48:34 +03:00
2014-04-17 08:10:19 +03:00
2014-10-20 16:21:51 +02:00
2014-10-20 16:21:51 +02:00
2014-10-20 16:21:51 +02:00
2015-03-23 14:29:40 +11:00
2014-04-17 08:10:19 +03:00
2014-09-30 13:06:01 +03:00
2014-04-17 08:10:19 +03:00
2014-10-20 16:21:51 +02:00
2014-04-17 08:10:19 +03:00
2014-04-17 08:10:19 +03:00
2015-10-12 14:20:06 +01:00
2015-08-13 12:25:44 +02:00
2014-05-23 13:51:10 +03:00
2014-10-20 16:21:51 +02:00
2014-04-17 08:10:19 +03:00
2015-12-09 12:57:06 +02:00
2014-04-17 08:10:19 +03:00
2015-06-03 12:41:46 +03:00
2014-04-17 08:10:19 +03:00
2014-10-20 16:21:51 +02:00
2015-10-08 12:19:39 +03:00
2014-10-20 16:21:51 +02:00
2015-01-26 14:43:06 +02:00
2014-10-20 16:21:51 +02:00
2015-06-07 15:28:57 +02:00
2015-08-05 11:41:31 -07:00
2014-04-17 08:10:19 +03:00
2015-08-25 09:59:44 +02:00
2014-04-17 08:10:19 +03:00
2015-03-17 20:04:31 +11:00
2015-06-12 12:40:27 +03:00
2014-04-17 08:10:19 +03:00
2015-10-08 12:19:38 +03:00
2014-10-20 16:21:51 +02:00
2014-04-17 08:10:19 +03:00
2014-04-17 08:10:19 +03:00
2014-04-17 08:10:19 +03:00
2015-08-07 15:05:01 -07:00
2014-04-17 08:10:19 +03:00
2014-10-20 16:21:51 +02:00
2014-12-14 16:10:09 -08:00
2015-06-12 12:40:27 +03:00
2014-04-17 08:10:19 +03:00
2015-06-03 12:41:49 +03:00
2014-10-20 16:21:51 +02:00
2014-04-17 08:10:19 +03:00
2015-08-10 23:07:06 -04:00
2014-06-16 19:45:45 +10:00
2014-10-20 16:21:51 +02:00
2015-03-23 14:29:40 +11:00
2014-04-17 08:10:19 +03:00
2015-06-03 12:41:51 +03:00
2015-06-03 12:41:52 +03:00
2014-04-17 08:10:19 +03:00
2014-04-17 08:10:19 +03:00
2014-04-17 08:10:19 +03:00
2014-04-17 08:10:19 +03:00
2015-02-11 17:06:05 -08:00
2015-08-10 12:25:43 +03:00
2014-04-17 08:10:19 +03:00
2015-09-01 13:55:32 +03:00
2014-04-17 08:10:19 +03:00
2015-09-01 15:50:38 +02:00
2014-04-17 08:10:19 +03:00
2014-04-17 08:10:19 +03:00
2015-08-10 23:07:05 -04:00
2014-10-20 16:21:51 +02:00
2014-04-17 08:10:19 +03:00
2015-08-21 08:56:19 +03:00
2015-08-25 09:59:45 +02:00
2015-09-01 15:50:38 +02:00
2014-12-05 16:30:25 +00:00
2014-04-17 08:10:19 +03:00
2014-04-17 08:10:19 +03:00
2014-10-20 16:21:51 +02:00
2014-04-17 08:10:19 +03:00
2014-09-30 13:42:13 +03:00
2015-04-07 16:24:15 +03:00
2014-04-17 08:10:19 +03:00
2014-12-18 20:28:33 -08:00
2015-07-20 10:52:46 -07:00
2014-04-17 08:10:19 +03:00
2015-03-02 13:17:24 +02:00
2015-08-07 15:05:01 -07:00
2015-08-07 15:05:01 -07:00
2014-12-04 16:16:01 +02:00
2015-09-24 14:10:26 +03:00
2014-04-17 08:10:19 +03:00
2014-04-17 08:10:19 +03:00
2015-08-10 23:07:05 -04:00
2014-04-17 08:10:19 +03:00
2014-10-20 16:21:51 +02:00
2014-04-17 08:10:19 +03:00
2014-10-20 16:21:51 +02:00
2015-06-03 12:41:52 +03:00
2014-04-17 08:10:19 +03:00
2014-04-17 08:10:19 +03:00
2015-11-10 10:00:09 -08:00
2015-08-20 10:32:40 +03:00
2015-05-28 11:32:10 +09:30
2014-09-30 13:06:01 +03:00
2014-04-17 08:10:19 +03:00
2015-06-16 09:42:11 +03:00
2015-08-20 12:03:53 +03:00
2014-04-17 08:10:19 +03:00
2015-01-13 13:35:04 +02:00
2014-04-17 08:10:19 +03:00
2015-08-25 09:59:45 +02:00
2014-04-17 08:10:19 +03:00
2014-04-17 08:10:19 +03:00
2014-04-17 08:10:19 +03:00
2014-10-20 16:21:51 +02:00
2014-10-20 16:21:51 +02:00
2014-04-17 08:10:19 +03:00
2015-09-08 18:03:53 +01:00
2014-10-20 16:21:51 +02:00