diff options
author | Benoit Goby <benoit@android.com> | 2011-12-13 01:19:46 +0800 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2012-01-09 10:46:28 +0800 |
commit | b5c2bb853449f499502ea6abd3e5ffca04eee777 (patch) | |
tree | bea654f3f4729db8586a5db5c7579462a95e4da9 | |
parent | 703fa24c198b2e461868d363882668ae0a9e779f (diff) |
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 7b96bd070b7..07b6c815391 100644 --- a/drivers/input/evdev.c +++ b/drivers/input/evdev.c @@ -331,6 +331,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); |