summaryrefslogtreecommitdiff
path: root/drivers/input/evdev.c
diff options
context:
space:
mode:
authorBenoit Goby <benoit@android.com>2011-01-19 14:10:37 -0800
committerColin Cross <ccross@android.com>2011-06-14 09:09:49 -0700
commit0ee5695f24a1629c4147ed44650fe8847891efde (patch)
treeb56bda08699a5f6c9bf26917c8b81f67db84692b /drivers/input/evdev.c
parenteb1af91a7dc24935289ed1340e394f90fdd00caa (diff)
input: evdev: Add missing wake_lock_destroy
Change-Id: Ief1ef44d98a197e5b457f5e8617c413e76e3c6d2 Signed-off-by: Benoit Goby <benoit@android.com>
Diffstat (limited to 'drivers/input/evdev.c')
-rw-r--r--drivers/input/evdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c
index 1848c9e5633..54c7e1ec669 100644
--- a/drivers/input/evdev.c
+++ b/drivers/input/evdev.c
@@ -330,6 +330,7 @@ static int evdev_open(struct inode *inode, struct file *file)
err_free_client:
evdev_detach_client(evdev, client);
+ wake_lock_destroy(&client->wake_lock);
kfree(client);
err_put_evdev:
put_device(&evdev->dev);