diff options
author | Benjamin Tissoires <benjamin.tissoires@enac.fr> | 2011-11-23 04:54:31 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2012-01-25 20:24:52 -0500 |
commit | 369f7532bcaa78eb3919306e1ff997aa14bbfbbb (patch) | |
tree | db98983cdeadb7c41ae9150bc7fba414a547de1d | |
parent | 242d5138b1a8f4a2519518027fff884fce3eeba4 (diff) |
HID: multitouch: cleanup with eGalax PID definitions
commit e36f690b37945e0a9bb1554e1546eeec93f7d1f6 upstream.
This is just a renaming of USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH{N}
to USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_{PID} to handle more eGalax
devices.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/hid/hid-core.c | 12 | ||||
-rw-r--r-- | drivers/hid/hid-ids.h | 12 | ||||
-rw-r--r-- | drivers/hid/hid-multitouch.c | 24 |
3 files changed, 24 insertions, 24 deletions
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index e7373bfbba8..f4465f1f1bc 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c | |||
@@ -1382,12 +1382,12 @@ static const struct hid_device_id hid_have_special_driver[] = { | |||
1382 | { HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_TRUETOUCH) }, | 1382 | { HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_TRUETOUCH) }, |
1383 | { HID_USB_DEVICE(USB_VENDOR_ID_DRAGONRISE, 0x0006) }, | 1383 | { HID_USB_DEVICE(USB_VENDOR_ID_DRAGONRISE, 0x0006) }, |
1384 | { HID_USB_DEVICE(USB_VENDOR_ID_DRAGONRISE, 0x0011) }, | 1384 | { HID_USB_DEVICE(USB_VENDOR_ID_DRAGONRISE, 0x0011) }, |
1385 | { HID_USB_DEVICE(USB_VENDOR_ID_DWAV, USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH) }, | 1385 | { HID_USB_DEVICE(USB_VENDOR_ID_DWAV, USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_480D) }, |
1386 | { HID_USB_DEVICE(USB_VENDOR_ID_DWAV, USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH1) }, | 1386 | { HID_USB_DEVICE(USB_VENDOR_ID_DWAV, USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_480E) }, |
1387 | { HID_USB_DEVICE(USB_VENDOR_ID_DWAV, USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH2) }, | 1387 | { HID_USB_DEVICE(USB_VENDOR_ID_DWAV, USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_720C) }, |
1388 | { HID_USB_DEVICE(USB_VENDOR_ID_DWAV, USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH3) }, | 1388 | { HID_USB_DEVICE(USB_VENDOR_ID_DWAV, USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_726B) }, |
1389 | { HID_USB_DEVICE(USB_VENDOR_ID_DWAV, USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH4) }, | 1389 | { HID_USB_DEVICE(USB_VENDOR_ID_DWAV, USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_72A1) }, |
1390 | { HID_USB_DEVICE(USB_VENDOR_ID_DWAV, USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH5) }, | 1390 | { HID_USB_DEVICE(USB_VENDOR_ID_DWAV, USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_A001) }, |
1391 | { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_ELECOM, USB_DEVICE_ID_ELECOM_BM084) }, | 1391 | { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_ELECOM, USB_DEVICE_ID_ELECOM_BM084) }, |
1392 | { HID_USB_DEVICE(USB_VENDOR_ID_ELO, USB_DEVICE_ID_ELO_TS2515) }, | 1392 | { HID_USB_DEVICE(USB_VENDOR_ID_ELO, USB_DEVICE_ID_ELO_TS2515) }, |
1393 | { HID_USB_DEVICE(USB_VENDOR_ID_EMS, USB_DEVICE_ID_EMS_TRIO_LINKER_PLUS_II) }, | 1393 | { HID_USB_DEVICE(USB_VENDOR_ID_EMS, USB_DEVICE_ID_EMS_TRIO_LINKER_PLUS_II) }, |
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index c1732e1d197..c4ee677d20b 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h | |||
@@ -230,12 +230,12 @@ | |||
230 | 230 | ||
231 | #define USB_VENDOR_ID_DWAV 0x0eef | 231 | #define USB_VENDOR_ID_DWAV 0x0eef |
232 | #define USB_DEVICE_ID_EGALAX_TOUCHCONTROLLER 0x0001 | 232 | #define USB_DEVICE_ID_EGALAX_TOUCHCONTROLLER 0x0001 |
233 | #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH 0x480d | 233 | #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_480D 0x480d |
234 | #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH1 0x720c | 234 | #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_480E 0x480e |
235 | #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH2 0x72a1 | 235 | #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_720C 0x720c |
236 | #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH3 0x480e | 236 | #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_726B 0x726b |
237 | #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH4 0x726b | 237 | #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_72A1 0x72a1 |
238 | #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH5 0xa001 | 238 | #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_A001 0xa001 |
239 | 239 | ||
240 | #define USB_VENDOR_ID_ELECOM 0x056e | 240 | #define USB_VENDOR_ID_ELECOM 0x056e |
241 | #define USB_DEVICE_ID_ELECOM_BM084 0x0061 | 241 | #define USB_DEVICE_ID_ELECOM_BM084 0x0061 |
diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c index 0099bc4e270..fdf573cb412 100644 --- a/drivers/hid/hid-multitouch.c +++ b/drivers/hid/hid-multitouch.c | |||
@@ -629,26 +629,26 @@ static const struct hid_device_id mt_devices[] = { | |||
629 | USB_DEVICE_ID_CYPRESS_TRUETOUCH) }, | 629 | USB_DEVICE_ID_CYPRESS_TRUETOUCH) }, |
630 | 630 | ||
631 | /* eGalax devices (resistive) */ | 631 | /* eGalax devices (resistive) */ |
632 | { .driver_data = MT_CLS_EGALAX, | 632 | { .driver_data = MT_CLS_EGALAX, |
633 | HID_USB_DEVICE(USB_VENDOR_ID_DWAV, | 633 | HID_USB_DEVICE(USB_VENDOR_ID_DWAV, |
634 | USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH) }, | 634 | USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_480D) }, |
635 | { .driver_data = MT_CLS_EGALAX, | 635 | { .driver_data = MT_CLS_EGALAX, |
636 | HID_USB_DEVICE(USB_VENDOR_ID_DWAV, | 636 | HID_USB_DEVICE(USB_VENDOR_ID_DWAV, |
637 | USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH3) }, | 637 | USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_480E) }, |
638 | 638 | ||
639 | /* eGalax devices (capacitive) */ | 639 | /* eGalax devices (capacitive) */ |
640 | { .driver_data = MT_CLS_EGALAX, | 640 | { .driver_data = MT_CLS_EGALAX, |
641 | HID_USB_DEVICE(USB_VENDOR_ID_DWAV, | 641 | HID_USB_DEVICE(USB_VENDOR_ID_DWAV, |
642 | USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH1) }, | 642 | USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_720C) }, |
643 | { .driver_data = MT_CLS_EGALAX, | 643 | { .driver_data = MT_CLS_EGALAX, |
644 | HID_USB_DEVICE(USB_VENDOR_ID_DWAV, | 644 | HID_USB_DEVICE(USB_VENDOR_ID_DWAV, |
645 | USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH2) }, | 645 | USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_726B) }, |
646 | { .driver_data = MT_CLS_EGALAX, | 646 | { .driver_data = MT_CLS_EGALAX, |
647 | HID_USB_DEVICE(USB_VENDOR_ID_DWAV, | 647 | HID_USB_DEVICE(USB_VENDOR_ID_DWAV, |
648 | USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH4) }, | 648 | USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_72A1) }, |
649 | { .driver_data = MT_CLS_EGALAX, | 649 | { .driver_data = MT_CLS_EGALAX, |
650 | HID_USB_DEVICE(USB_VENDOR_ID_DWAV, | 650 | HID_USB_DEVICE(USB_VENDOR_ID_DWAV, |
651 | USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH5) }, | 651 | USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_A001) }, |
652 | 652 | ||
653 | /* Elo TouchSystems IntelliTouch Plus panel */ | 653 | /* Elo TouchSystems IntelliTouch Plus panel */ |
654 | { .driver_data = MT_CLS_DUAL_NSMU_CONTACTID, | 654 | { .driver_data = MT_CLS_DUAL_NSMU_CONTACTID, |