]> git.baikalelectronics.ru Git - kernel.git/commit
Input: synaptics - use BIT() and GENMASK() macros
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 23 Mar 2017 21:56:06 +0000 (14:56 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 3 Apr 2017 23:23:57 +0000 (16:23 -0700)
commitc4ff6acbb3bfc891bb0b1850bac1feed9724f8b7
tree1c6356b40118219a21f24c475759bdf3758bff36
parent2a7baf2aeb377893d22107e970060e656b357697
Input: synaptics - use BIT() and GENMASK() macros

Use standard infrastructure, such as BIT and GENMASK, instead of rolling
bitmasks by hand.

Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/synaptics.c
drivers/input/mouse/synaptics.h