From: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> Hello, this is v3 of this series that I initially created to simplify adding another trigger (for ttys). Compared to v2 the only relevant change is that the prototype change of struct led_trigger::activate is not split into a bisectable series that modifies one driver after another but in a bigger patch that changes all in one step as requested by Pavel Machek. Best regards Uwe Uwe Kleine-König (16): leds: triggers: let struct led_trigger::activate return an error code leds: triggers: add device attribute support leds: triggers: handle .trigger_data and .activated in the core leds: triggers: define module_led_trigger helper leds: triggers: new function led_set_trigger_data leds: netdev trigger: simplifications from core changes leds: timer trigger: simplifications from core changes leds: transient trigger: simplifications from core changes leds: oneshot trigger: simplifications from core changes leds: heartbeat trigger: simplifications from core changes leds: default-on trigger: simplifications from core changes leds: activity trigger: simplifications from core changes leds: backlight trigger: simplifications from core changes leds: gpio trigger: simplifications from core changes usb: simplify usbport trigger WIP: don't apply drivers/leds/led-triggers.c | 38 +++++++- drivers/leds/trigger/ledtrig-activity.c | 46 +++++----- drivers/leds/trigger/ledtrig-backlight.c | 64 +++++-------- drivers/leds/trigger/ledtrig-default-on.c | 22 ++--- drivers/leds/trigger/ledtrig-gpio.c | 91 ++++++------------- drivers/leds/trigger/ledtrig-heartbeat.c | 49 +++++----- drivers/leds/trigger/ledtrig-netdev.c | 101 +++++++-------------- drivers/leds/trigger/ledtrig-oneshot.c | 93 ++++++------------- drivers/leds/trigger/ledtrig-timer.c | 59 ++++-------- drivers/leds/trigger/ledtrig-transient.c | 104 +++++++--------------- drivers/tty/vt/keyboard.c | 4 +- drivers/usb/core/ledtrig-usbport.c | 36 +++----- include/linux/leds.h | 42 +++++++-- 13 files changed, 297 insertions(+), 452 deletions(-) -- 2.17.1