[PATCH v3 0/3] tty/leds: implement a trigger for ttys

From: Uwe Kleine-KÃnig
Date: Tue Dec 17 2019 - 10:07:47 EST


Hello,

next iteration of the tty-led-trigger series. This addresses the review
comments I got from Greg.

This depends on patch "tty: drop useless variable initialisation in
tty_kopen()" which is already on tty-testing.

Best regards
Uwe

Uwe Kleine-KÃnig (3):
tty: rename tty_kopen() and add new function tty_kopen_shared()
tty: new helper function tty_get_icount()
leds: trigger: implement a tty trigger

drivers/leds/trigger/Kconfig | 7 ++
drivers/leds/trigger/Makefile | 1 +
drivers/leds/trigger/ledtrig-tty.c | 159 ++++++++++++++++++++++++++++
drivers/staging/speakup/spk_ttyio.c | 2 +-
drivers/tty/tty_io.c | 87 +++++++++++----
include/linux/tty.h | 7 +-
6 files changed, 238 insertions(+), 25 deletions(-)
create mode 100644 drivers/leds/trigger/ledtrig-tty.c

--
2.24.0