diff options
author | Przemo Firszt <przemo@firszt.eu> | 2012-03-14 15:55:03 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-03-16 07:14:54 -0400 |
commit | 9a911da8d792a2d8f9a1e07eb1c41e0d7f4ec307 (patch) | |
tree | eb33ec21496bf62d77332935ea2f030b3bb5ccf1 /drivers | |
parent | 693f45bb2d6ff5bf8fb3b69ff904b44ef8cffd8d (diff) |
HID: wacom: Replace __set_bit with input_set_capability
It's a trivial patch. It's doesn't change the functionality as the helper
input_set_capability does the same thing.
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/hid/hid-wacom.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/hid/hid-wacom.c b/drivers/hid/hid-wacom.c index f9af474275db..3fc93869024e 100644 --- a/drivers/hid/hid-wacom.c +++ b/drivers/hid/hid-wacom.c | |||
@@ -492,9 +492,7 @@ static int wacom_input_mapped(struct hid_device *hdev, struct hid_input *hi, | |||
492 | __set_bit(BTN_MIDDLE, input->keybit); | 492 | __set_bit(BTN_MIDDLE, input->keybit); |
493 | 493 | ||
494 | /* Pad */ | 494 | /* Pad */ |
495 | input->evbit[0] |= BIT(EV_MSC); | 495 | input_set_capability(input, EV_MSC, MSC_SERIAL); |
496 | |||
497 | __set_bit(MSC_SERIAL, input->mscbit); | ||
498 | 496 | ||
499 | __set_bit(BTN_0, input->keybit); | 497 | __set_bit(BTN_0, input->keybit); |
500 | __set_bit(BTN_1, input->keybit); | 498 | __set_bit(BTN_1, input->keybit); |