]> git.baikalelectronics.ru Git - kernel.git/commit
Input: xpad - refactor using BIT() macro
authorPavel Rojtberg <rojtberg@gmail.com>
Wed, 28 Sep 2022 01:01:16 +0000 (18:01 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 28 Sep 2022 01:03:44 +0000 (18:03 -0700)
commit1e3c6336064f61ca8b8b8a7e4d997deadf8dcf9d
treef11415ac7b680912ceb72c409834d515454d0389
parente3474a954228f0a5cbd632e6fe6deced9f573001
Input: xpad - refactor using BIT() macro

reduces the amount of magic numbers and makes the code more readable

Signed-off-by: Pavel Rojtberg <rojtberg@gmail.com>
Link: https://lore.kernel.org/r/20220913213133.584979-2-rojtberg@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/xpad.c