summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2018-07-02 22:05:28 +0200
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2018-07-05 23:21:12 +0200
commit823f786ac7615f1bf822227fc4cbeafe11fb6bf8 (patch)
tree841ecfba04fc99788f2c1aecd7ab356eb4f503c1 /tools/perf/scripts/python
parent2b7b6d44e29160eb12abd950c374babf21ed83d4 (diff)
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions