HID: hid-lenovo-tpkbd: remove doubled hid_get_drvdata
authorJiri Slaby <jslaby@suse.cz>
Thu, 4 Apr 2013 20:32:12 +0000 (22:32 +0200)
committerJiri Kosina <jkosina@suse.cz>
Thu, 4 Apr 2013 22:37:02 +0000 (00:37 +0200)
commit3a7f134f3061c242659a92fd8ddcfe53aaeaec22
tree6eec846b5b07706485f06de00fa6c31ccdcf844c
parentf37130533f68711fd6bae2c79950b8e72002bad6
HID: hid-lenovo-tpkbd: remove doubled hid_get_drvdata

In pointer_press_speed_show, we do
    data_pointer = hid_get_drvdata(hdev);
twice in a row. Remove one of those.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-lenovo-tpkbd.c