aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2011-02-01 00:06:39 -0500
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-02-01 00:16:59 -0500
commitaebd636bd60e2dda0ebc907dd5f7f4a45174411c (patch)
treece5ae0c890149296e70545fccbb11c4799c4e39c /drivers/hid
parentf06e6a52ca3dbe927f58653b1e90cbb53f5ceb55 (diff)
Input: switch completely over to the new versions of get/setkeycode
All users of old style get/setkeycode methids have been converted so it is time to retire them. Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com> Acked-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/hid')
-rw-r--r--drivers/hid/hid-input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c
index 7f552bfad32c..ba2aeea2cbf9 100644
--- a/drivers/hid/hid-input.c
+++ b/drivers/hid/hid-input.c
@@ -888,8 +888,8 @@ int hidinput_connect(struct hid_device *hid, unsigned int force)
888 hid->ll_driver->hidinput_input_event; 888 hid->ll_driver->hidinput_input_event;
889 input_dev->open = hidinput_open; 889 input_dev->open = hidinput_open;
890 input_dev->close = hidinput_close; 890 input_dev->close = hidinput_close;
891 input_dev->setkeycode_new = hidinput_setkeycode; 891 input_dev->setkeycode = hidinput_setkeycode;
892 input_dev->getkeycode_new = hidinput_getkeycode; 892 input_dev->getkeycode = hidinput_getkeycode;
893 893
894 input_dev->name = hid->name; 894 input_dev->name = hid->name;
895 input_dev->phys = hid->phys; 895 input_dev->phys = hid->phys;