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>
This commit is contained in:
Peter Hutterer 2015-12-01 13:31:06 -08:00 committed by Dmitry Torokhov
parent d352c0e1f3
commit 86c03f46b9
1 changed files with 2 additions and 1 deletions

View File

@ -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);