summaryrefslogtreecommitdiffstats
path: root/drivers/leds
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2018-07-02 22:05:35 +0200
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2018-07-05 23:21:15 +0200
commit6f7b0bad88397ad5d7901ce63696163ac8b481ce (patch)
tree8c6c44e00c628ea8e35e659369878b9cdf4b41e1 /drivers/leds
parentleds: gpio trigger: simplifications from core changes (diff)
downloadlinux-6f7b0bad88397ad5d7901ce63696163ac8b481ce.tar.xz
linux-6f7b0bad88397ad5d7901ce63696163ac8b481ce.zip
usb: simplify usbport trigger
The led trigger core learned a few things that allow to simplify the trigger drivers. Make use of automated trigger attributes and error checking of the activate callback. Also use the wrappers to set and get trigger_data. Acked-by: Pavel Machek <pavel@ucw.cz> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to 'drivers/leds')
0 files changed, 0 insertions, 0 deletions