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)
commit991d29fe02a767d13275b38d774cf7c35a4f4a44
tree1c6356b40118219a21f24c475759bdf3758bff36
parent2c6ecbba90d4e909bdc8982b4a2318e99d7fc4f2
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