]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
vt: keyboard, use BIT() macro instead of open coded variants
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 9 Nov 2020 10:55:59 +0000 (12:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Nov 2020 08:43:50 +0000 (09:43 +0100)
commitc050a97d05740609794f3da38f1be8ec4a65157d
tree51aff78a1e739c4412bf1ecfea00b21eb5188f5f
parent6f991850412963381017cfb0d691cbd4d6a551dc
vt: keyboard, use BIT() macro instead of open coded variants

There are few places when BIT() macro is suitable and makes code
easier to understand.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20201109105601.47159-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/keyboard.c