summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-ipaq-micro.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2018-07-02 23:05:33 +0300
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2018-07-06 00:21:14 +0300
commite4786ba0db7b1163403c29c429f5ef61906a84c0 (patch)
tree7e81e79d6e12810e87754fa1d29a426bf4f5c375 /drivers/leds/leds-ipaq-micro.c
parent13d698cbd99ce90f1d6b4fb0ff11ab90eb55f55e (diff)
downloadlinux-e4786ba0db7b1163403c29c429f5ef61906a84c0.tar.xz
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 'drivers/leds/leds-ipaq-micro.c')
0 files changed, 0 insertions, 0 deletions