2282e125a4
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
ledtrig-activity.c | ||
ledtrig-backlight.c | ||
ledtrig-camera.c | ||
ledtrig-cpu.c | ||
ledtrig-default-on.c | ||
ledtrig-disk.c | ||
ledtrig-gpio.c | ||
ledtrig-heartbeat.c | ||
ledtrig-mtd.c | ||
ledtrig-netdev.c | ||
ledtrig-oneshot.c | ||
ledtrig-panic.c | ||
ledtrig-timer.c | ||
ledtrig-transient.c |