linux/net/rfkill
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
..
Kconfig rfkill: remove rfkill-regulator 2017-01-24 11:07:35 +01:00
Makefile rfkill: remove rfkill-regulator 2017-01-24 11:07:35 +01:00
core.c leds: triggers: let struct led_trigger::activate() return an error code 2018-07-05 23:21:10 +02:00
input.c rfkill: don't use [delayed_]work_pending() 2012-12-28 13:40:16 -08:00
rfkill-gpio.c rfkill: gpio: fix memory leak in probe error path 2018-05-07 15:01:40 +02:00
rfkill.h rfkill: rewrite 2009-06-03 14:06:13 -04:00