diff options
author | Benoit Goby <benoit@android.com> | 2011-01-19 14:10:37 -0800 |
---|---|---|
committer | Benoit Goby <benoit@android.com> | 2011-01-19 15:02:04 -0800 |
commit | f82c6e916c007e5b1c5d9fe74d7c9e5a0170f514 (patch) | |
tree | e084ce5df21a846b58f765686f8f7d51ee2599d8 /drivers/input | |
parent | 255914b9277591b2afc8f5f0076ddcf379e41273 (diff) |
input: evdev: Add missing wake_lock_destroy
Change-Id: Ief1ef44d98a197e5b457f5e8617c413e76e3c6d2
Signed-off-by: Benoit Goby <benoit@android.com>
Diffstat (limited to 'drivers/input')
-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 7d22f51392dd..43e94e5188dd 100644 --- a/drivers/input/evdev.c +++ b/drivers/input/evdev.c @@ -316,6 +316,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); |