commit | a7d5904a6f44e0da05d62197521ec7d96cebb6aa | [log] [tgz] |
---|---|---|
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | Mon Jul 02 22:05:23 2018 +0200 |
committer | Jacek Anaszewski <jacek.anaszewski@gmail.com> | Thu Jul 05 23:21:10 2018 +0200 |
tree | fddccb536c3a0e69091eececec405e28dafccbae | |
parent | a7e7a3156300a7e1982b03cc9cb8fb0c86434c49 [diff] |
leds: triggers: handle .trigger_data and .activated() in the core This helps keeping these two fields consistent and drivers don't need to care for this themselves any more. Note that .activated isn't set to true automatically because that might confuse some triggers when deactivating (e.g. ledtrig-gpio). 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>