Uwe Kleine-König
2b7b6d44e2
leds: timer trigger: simplifications from core changes
...
The trigger core learned error handling for the activate callback and
can handle device attributes now. This allows simplifying the driver
considerably. Note that .deactivate() is only called when .activate()
succeeded, so the check for .trigger_data being non-NULL can go away.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
2018-07-05 23:21:12 +02:00
..
2018-07-05 23:21:12 +02:00
2018-06-28 21:34:43 +02:00
2016-01-04 09:57:37 +01:00
2018-05-24 22:08:26 +02:00
2018-01-07 13:27:07 +01:00
2018-07-05 23:21:10 +02:00
2016-03-14 09:22:22 +01:00
2017-09-07 14:33:13 -07:00
2018-06-12 16:19:22 -07:00
2018-06-28 21:34:43 +02:00
2018-01-08 21:28:11 +01:00
2014-10-20 16:20:43 +02:00
2017-06-13 20:36:56 +02:00
2016-01-04 09:57:40 +01:00
2016-01-04 09:57:32 +01:00
2018-01-08 21:28:10 +01:00
2017-09-14 11:59:30 +02:00
2015-11-03 08:59:09 +01:00
2016-11-23 16:38:01 +01:00
2017-03-29 21:02:27 +02:00
2018-06-12 16:19:22 -07:00
2016-03-14 09:22:22 +01:00
2018-06-12 16:19:22 -07:00
2016-01-04 09:57:34 +01:00
2015-08-28 14:06:23 +02:00
2014-09-29 10:21:01 -07:00
2017-08-29 21:10:40 +02:00
2016-06-20 09:57:56 +02:00
2016-01-04 09:57:38 +01:00
2017-08-12 23:50:07 +02:00
2016-08-15 14:02:31 +02:00
2017-01-26 21:16:38 +01:00
2016-01-04 09:57:36 +01:00
2015-08-28 14:06:02 +02:00
2017-08-29 21:10:37 +02:00
2018-05-23 21:44:47 +02:00
2016-01-04 09:57:32 +01:00
2018-07-03 22:27:12 +02:00
2015-11-03 08:59:50 +01:00
2018-06-12 16:19:22 -07:00
2016-01-04 09:57:33 +01:00
2016-03-14 09:22:20 +01:00
2017-03-23 20:33:59 +01:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2016-03-14 09:22:22 +01:00
2018-01-08 21:28:12 +01:00
2018-07-03 22:12:41 +02:00
2018-07-03 22:12:41 +02:00
2017-08-26 20:26:35 -04:00
2018-06-12 16:19:22 -07:00
2015-11-03 08:59:52 +01:00
2018-06-12 16:19:22 -07:00
2018-02-19 21:09:20 +01:00
2017-03-23 20:23:57 +01:00
2015-11-03 08:59:54 +01:00
2018-06-12 16:19:22 -07:00
2016-11-22 12:07:04 +01:00
2018-06-12 16:19:22 -07:00
2015-11-03 08:59:13 +01:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2017-04-19 20:27:50 +02:00
2017-12-01 08:57:42 +00:00
2017-08-29 21:10:39 +02:00
2018-01-08 21:28:10 +01:00
2014-10-20 16:20:43 +02:00
2016-01-04 09:57:35 +01:00
2016-03-14 09:22:22 +01:00
2018-05-22 21:57:59 +02:00
2017-09-14 11:59:30 +02:00
2016-01-04 09:57:38 +01:00
2016-01-04 09:57:39 +01:00
2018-06-12 16:19:22 -07:00
2017-07-16 18:45:43 +02:00
2018-05-03 21:50:13 +02:00
2016-01-04 09:57:35 +01:00
2015-11-03 08:59:58 +01:00
2016-05-06 10:22:09 +02:00
2018-05-23 21:44:47 +02:00
2018-02-11 14:34:03 -08:00