diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2018-07-02 22:05:35 +0200 |
---|---|---|
committer | Jacek Anaszewski <jacek.anaszewski@gmail.com> | 2018-07-05 23:21:15 +0200 |
commit | 6f7b0bad88397ad5d7901ce63696163ac8b481ce (patch) | |
tree | 8c6c44e00c628ea8e35e659369878b9cdf4b41e1 /drivers/leds | |
parent | leds: gpio trigger: simplifications from core changes (diff) | |
download | linux-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