HID: alps: a few cleanups
authorMasaki Ota <masaki.ota@jp.alps.com>
Wed, 22 Jun 2016 04:11:08 +0000 (13:11 +0900)
committerJiri Kosina <jkosina@suse.cz>
Thu, 23 Jun 2016 06:56:36 +0000 (08:56 +0200)
commit819d64e51d6260f8f7ef352cf42fc1ea67a0f7db
tree296df27a7463f7fba7cff930ef947cfece46a468
parentded69bba564337236a4c0e6b64924b72c86c938d
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>
drivers/hid/hid-alps.c
drivers/hid/hid-core.c
drivers/hid/hid-ids.h