Input: hid-input - switch to using new keycode interface
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 10 Sep 2010 04:57:17 +0000 (21:57 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 10 Sep 2010 05:02:11 +0000 (22:02 -0700)
commita0bf0ea809ba0a7621e191ec4cab5775d502ef7e
treef91841943ddb1091dd9ffa4197018c7a5f52d4a5
parent9f470095068e415658ccc6977cf4b3f5be418526
Input: hid-input - switch to using new keycode interface

Switch HID code to use new style of getkeycode and setkeycode
methods to allow retrieving and setting keycodes not only by
their scancodes but also by index.

Acked-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/hid/hid-input.c