diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2013-07-15 19:10:13 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2013-07-31 10:31:21 +0200 |
commit | bfde79cb3541170f8413bc8be34406f86c49392a (patch) | |
tree | f08ae0b039cfaa1bd48978902fb518a6368735da /drivers/hid/usbhid/usbhid.h | |
parent | 60682284e40be070a4a13df2cb332286b4750f8a (diff) | |
download | talos-obmc-linux-bfde79cb3541170f8413bc8be34406f86c49392a.tar.gz talos-obmc-linux-bfde79cb3541170f8413bc8be34406f86c49392a.zip |
HID: usbhid: use generic hidinput_input_event()
HID core provides the same functionality as we do, so drop the custom
hidinput_input_event() handler.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/usbhid/usbhid.h')
-rw-r--r-- | drivers/hid/usbhid/usbhid.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/hid/usbhid/usbhid.h b/drivers/hid/usbhid/usbhid.h index dbb6af699135..f633c24ce28b 100644 --- a/drivers/hid/usbhid/usbhid.h +++ b/drivers/hid/usbhid/usbhid.h @@ -92,9 +92,6 @@ struct usbhid_device { unsigned int retry_delay; /* Delay length in ms */ struct work_struct reset_work; /* Task context for resets */ wait_queue_head_t wait; /* For sleeping */ - int ledcount; /* counting the number of active leds */ - - struct work_struct led_work; /* Task context for setting LEDs */ }; #define hid_to_usb_dev(hid_dev) \ |