From 0ee5695f24a1629c4147ed44650fe8847891efde Mon Sep 17 00:00:00 2001 From: Benoit Goby Date: Wed, 19 Jan 2011 14:10:37 -0800 Subject: [PATCH] input: evdev: Add missing wake_lock_destroy Change-Id: Ief1ef44d98a197e5b457f5e8617c413e76e3c6d2 Signed-off-by: Benoit Goby --- drivers/input/evdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c index 1848c9e56338..54c7e1ec6691 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); -- 2.34.1