Uwe Kleine-König 823f786ac7 leds: transient 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 .activated 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
..
2017-09-07 14:33:13 -07:00
2016-01-04 09:57:32 +01:00
2017-03-29 21:02:27 +02:00
2016-01-04 09:57:36 +01:00
2016-01-04 09:57:32 +01:00
2016-01-04 09:57:35 +01:00