]> 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)
commit2af255e11836775f756a7911ceeac6159e5983b7
treef11415ac7b680912ceb72c409834d515454d0389
parentd4423a46ea656a45087f07f3d080175b3415540f
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