diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2015-12-01 13:31:06 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-12-03 15:58:31 -0800 |
commit | 86c03f46b9a40b251e4d97f461a13f8b1f18ae17 (patch) | |
tree | ab6abd20933753261cd960cb31b092dff74109d4 /drivers/input/touchscreen | |
parent | d352c0e1f32e168e20d14d666a73f3712fbdc1f5 (diff) | |
download | op-kernel-dev-86c03f46b9a40b251e4d97f461a13f8b1f18ae17.zip op-kernel-dev-86c03f46b9a40b251e4d97f461a13f8b1f18ae17.tar.gz |
Input: wacom_w8001 - use __set_bit for evbits
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Reviewed-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen')
-rw-r--r-- | drivers/input/touchscreen/wacom_w8001.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/wacom_w8001.c b/drivers/input/touchscreen/wacom_w8001.c index 2792ca3..d194d57 100644 --- a/drivers/input/touchscreen/wacom_w8001.c +++ b/drivers/input/touchscreen/wacom_w8001.c @@ -393,7 +393,8 @@ static int w8001_setup(struct w8001 *w8001) msleep(250); /* wait 250ms before querying the device */ - dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); + __set_bit(EV_KEY, dev->evbit); + __set_bit(EV_ABS, dev->evbit); strlcat(w8001->name, "Wacom Serial", sizeof(w8001->name)); __set_bit(INPUT_PROP_DIRECT, dev->propbit); |