summaryrefslogtreecommitdiffstats
path: root/drivers/hid/usbhid/usbhid.h
diff options
context:
space:
mode:
authorOliver Neukum2010-12-22 15:33:40 +0100
committerJiri Kosina2010-12-22 19:06:53 +0100
commit68229689b6dc950bea4b81dd60563884f4a7e1c5 (patch)
tree492329a1d82af8b4be881da356f4b1f67b13a343 /drivers/hid/usbhid/usbhid.h
parentHID: replace offsets values with their corresponding BTN_* defines (diff)
downloadkernel-qcow2-linux-68229689b6dc950bea4b81dd60563884f4a7e1c5.tar.gz
kernel-qcow2-linux-68229689b6dc950bea4b81dd60563884f4a7e1c5.tar.xz
kernel-qcow2-linux-68229689b6dc950bea4b81dd60563884f4a7e1c5.zip
HID: usbhid: base runtime PM on modern API
This patch doesn't alter functionality, but removes a dedicated kernel thread. Signed-off-by: Oliver Neukum <oneukum@suse.de> Tested-by: Maulik Mankad <x0082077@ti.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/usbhid/usbhid.h')
-rw-r--r--drivers/hid/usbhid/usbhid.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hid/usbhid/usbhid.h b/drivers/hid/usbhid/usbhid.h
index 89d2e847dcc6..1673cac93d77 100644
--- a/drivers/hid/usbhid/usbhid.h
+++ b/drivers/hid/usbhid/usbhid.h
@@ -95,7 +95,6 @@ struct usbhid_device {
unsigned long stop_retry; /* Time to give up, in jiffies */
unsigned int retry_delay; /* Delay length in ms */
struct work_struct reset_work; /* Task context for resets */
- struct work_struct restart_work; /* waking up for output to be done in a task */
wait_queue_head_t wait; /* For sleeping */
int ledcount; /* counting the number of active leds */
};