summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle/Makefile
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2018-07-02 22:05:30 +0200
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2018-07-05 23:21:13 +0200
commit71c4af71e597f429d37c89f5db2e44c59c8ba88c (patch)
tree914e461a2fad66a9963d024aab595cf95d15a999 /drivers/cpuidle/Makefile
parent81d5533297fb672012bb298c1f7545f9c168ccb0 (diff)
downloadlinux-71c4af71e597f429d37c89f5db2e44c59c8ba88c.tar.gz
linux-71c4af71e597f429d37c89f5db2e44c59c8ba88c.tar.bz2
linux-71c4af71e597f429d37c89f5db2e44c59c8ba88c.zip
leds: heartbeat 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 in .deactivate(). Also make use of module_led_trigger() and the accessor function to get and set trigger_data. 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 'drivers/cpuidle/Makefile')
0 files changed, 0 insertions, 0 deletions