]> git.baikalelectronics.ru Git - kernel.git/commit
vt: move set_leds to keyboard.c
authorJiri Slaby <jslaby@suse.cz>
Tue, 5 Jan 2021 12:02:28 +0000 (13:02 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Jan 2021 15:17:31 +0000 (16:17 +0100)
commitc0f2580be64a6597c10283a4bd5a1a41a22b4f30
tree672602e2489bbc8a1b40961fc378a3291d786d9a
parentc532cf6fbbc5f1ff2283835931eee3288a11000e
vt: move set_leds to keyboard.c

set_leds and compute_shiftstate are called from a single place in vt.c.
Let's combine these two into vt_set_leds_compute_shiftstate. This allows
for making keyboard_tasklet local in the next patch.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210105120239.28031-1-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/keyboard.c
drivers/tty/vt/vt.c
include/linux/kbd_kern.h