tty/vt/keyboard: define LED triggers for VT LED states
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 17 Mar 2015 04:19:44 +0000 (21:19 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 16 Jun 2015 21:59:46 +0000 (14:59 -0700)
commit5235552273e6b68abbed3b3047af6344e2e60c2c
tree158189f30ba2452730991cdeec9a7b7a3230bb12
parentf60c8ba77dcea80af8facfd786a0d2c3ace86f3d
tty/vt/keyboard: define LED triggers for VT LED states

Now that input core allows controlling keyboards LEDs via standard LED
subsystem triggers let's switch VT keyboard code to make use of this
feature. We will define the following standard triggers: "kbd-scrollock",
"kbd-numlock", "kbd-capslock", and "kbd-kanalock" which are default
triggers for respective LEDs on keyboards.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Tested-by: Pavel Machek <pavel@ucw.cz>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/tty/vt/keyboard.c