diff options
author | Masaki Ota <masaki.ota@jp.alps.com> | 2016-06-22 07:11:08 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2016-06-23 09:56:36 +0300 |
commit | 819d64e51d6260f8f7ef352cf42fc1ea67a0f7db (patch) | |
tree | 296df27a7463f7fba7cff930ef947cfece46a468 /drivers/hid/hid-ids.h | |
parent | ded69bba564337236a4c0e6b64924b72c86c938d (diff) | |
download | linux-819d64e51d6260f8f7ef352cf42fc1ea67a0f7db.tar.xz |
HID: alps: a few cleanups
Remove an unnecessary codes.
Change input_ivent() function to appropriate function.
Add the device ID of "HID_DEVICE_ID_ALPS_U1_DUAL".
[jkosina@suse.cz: removed unnecessary bitshifts of values passed
input_report_key() as spotted by Dmitry]
Signed-off-by: Masaki Ota <masaki.ota@jp.alps.com>
Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-ids.h')
-rw-r--r-- | drivers/hid/hid-ids.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index a5a429cbf163..c4f665d4c80c 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -71,6 +71,7 @@ #define USB_DEVICE_ID_IBM_GAMEPAD 0x1101 #define USB_VENDOR_ID_ALPS_JP 0x044E +#define HID_DEVICE_ID_ALPS_U1_DUAL 0x120B #define USB_VENDOR_ID_ANTON 0x1130 #define USB_DEVICE_ID_ANTON_TOUCH_PAD 0x3101 |