linux/net/bluetooth
Uwe Kleine-König 2282e125a4 leds: triggers: let struct led_trigger::activate() return an error code
Given that activating a trigger can fail, let the callback return an
indication. This prevents to have a trigger active according to the
"trigger" sysfs attribute but not functional.

All users are changed accordingly to return 0 for now. There is no intended
change in behaviour.

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>
2018-07-05 23:21:10 +02:00
..
2018-05-26 09:16:44 +02:00
2018-05-26 09:16:44 +02:00
2017-07-25 12:31:37 -07:00
2015-07-30 13:31:59 +02:00
2015-07-30 13:31:59 +02:00
2017-09-01 22:49:47 +02:00
2018-05-26 09:16:44 +02:00
2018-05-30 08:16:04 +02:00