staging: vt6656: vnt_set_keymode simplify key modes.
authorMalcolm Priestley <tvboxspy@gmail.com>
Wed, 29 Apr 2020 18:39:03 +0000 (19:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 May 2020 10:26:44 +0000 (12:26 +0200)
commit41f1efcb4a25f64c36e3d5d23f78b84ae68243cf
tree1d3d790370ffeef6f60be6dad850038509314486
parentae220204873e2508fd8d7e5240a4d8aa45fe26e1
staging: vt6656: vnt_set_keymode simplify key modes.

Unused macros and onfly_latch are removed and others contain
to actual key_type value is or-ed with key_mode.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Link: https://lore.kernel.org/r/0eb6f5bb-f756-ab1d-5b63-db9b0dc422da@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/key.c
drivers/staging/vt6656/key.h