summaryrefslogtreecommitdiffstats
path: root/fs/tracefs
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2018-07-02 22:05:33 +0200
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2018-07-05 23:21:14 +0200
commite4786ba0db7b1163403c29c429f5ef61906a84c0 (patch)
tree7e81e79d6e12810e87754fa1d29a426bf4f5c375 /fs/tracefs
parent13d698cbd99ce90f1d6b4fb0ff11ab90eb55f55e (diff)
downloadlinux-stable-e4786ba0db7b1163403c29c429f5ef61906a84c0.tar.gz
linux-stable-e4786ba0db7b1163403c29c429f5ef61906a84c0.tar.bz2
linux-stable-e4786ba0db7b1163403c29c429f5ef61906a84c0.zip
leds: backlight trigger: simplifications from core changes
Use the new module_led_trigger() helper. Also use attribute support from the trigger core. Drop error message on allocation failure as kzalloc() already screams loudly when failing. Use wrappers 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 'fs/tracefs')
0 files changed, 0 insertions, 0 deletions