summaryrefslogtreecommitdiffstats
path: root/drivers/hid/usbhid/usbhid.h
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.de>2010-12-22 15:33:40 +0100
committerJiri Kosina <jkosina@suse.cz>2010-12-22 19:06:53 +0100
commit68229689b6dc950bea4b81dd60563884f4a7e1c5 (patch)
tree492329a1d82af8b4be881da356f4b1f67b13a343 /drivers/hid/usbhid/usbhid.h
parent1874542d952bbea01997191aee868b472555fd9a (diff)
downloadop-kernel-dev-68229689b6dc950bea4b81dd60563884f4a7e1c5.zip
op-kernel-dev-68229689b6dc950bea4b81dd60563884f4a7e1c5.tar.gz
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 89d2e84..1673cac 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 */
};
OpenPOWER on IntegriCloud