Searched hist:"6 f7b0bad88397ad5d7901ce63696163ac8b481ce" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/usb/core/ |
H A D | ledtrig-usbport.c | diff 6f7b0bad88397ad5d7901ce63696163ac8b481ce Mon Jul 02 15:05:35 CDT 2018 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> 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>
|