diff options
author | Benoit Goby <benoit@android.com> | 2011-01-19 14:10:37 -0800 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2011-06-14 09:09:49 -0700 |
commit | 0ee5695f24a1629c4147ed44650fe8847891efde (patch) | |
tree | b56bda08699a5f6c9bf26917c8b81f67db84692b | |
parent | eb1af91a7dc24935289ed1340e394f90fdd00caa (diff) | |
download | kernel_samsung_tuna-0ee5695f24a1629c4147ed44650fe8847891efde.zip kernel_samsung_tuna-0ee5695f24a1629c4147ed44650fe8847891efde.tar.gz kernel_samsung_tuna-0ee5695f24a1629c4147ed44650fe8847891efde.tar.bz2 |
input: evdev: Add missing wake_lock_destroy
Change-Id: Ief1ef44d98a197e5b457f5e8617c413e76e3c6d2
Signed-off-by: Benoit Goby <benoit@android.com>
-rw-r--r-- | drivers/input/evdev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c index 1848c9e..54c7e1e 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); |