]> git.baikalelectronics.ru Git - kernel.git/commit
vt: keyboard, use new API for keyboard_tasklet
authorEmil Renner Berthing <kernel@esmil.dk>
Wed, 27 Jan 2021 16:42:22 +0000 (17:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Jan 2021 17:08:07 +0000 (18:08 +0100)
commita8bc49c439cc81111a82e9da1cc3b198c995286e
tree3106f4be4d7256b263a79b94a08fab34cf7c5c4a
parent413ea3ae97dfb4dd01670d63fe3a0644a301a723
vt: keyboard, use new API for keyboard_tasklet

This converts the keyboard_tasklet to use the new API in
commit ad117fab14f5 ("tasklet: Introduce new initialization API")

The new API changes the argument passed to the callback function, but
fortunately the argument isn't used so it is straight forward to use
DECLARE_TASKLET_DISABLED() rather than DECLARE_TASKLET_DISABLED_OLD().

Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
Link: https://lore.kernel.org/r/20210127164222.13220-1-kernel@esmil.dk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/keyboard.c