From 8357c9c3d04a374a960aa697b2e3e8dd43967dbd Mon Sep 17 00:00:00 2001 From: "makarand.karvekar" Date: Tue, 22 Feb 2011 17:21:10 -0600 Subject: [PATCH] misc: kxtf9: corrected cancel work sync call for delayed work Change-Id: Iec914fd1102b8b6dba5d9b818b6eacb0d6481187 Signed-off-by: makarand.karvekar --- drivers/misc/kxtf9.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/kxtf9.c b/drivers/misc/kxtf9.c index 391c56deb8c4..a7b54214ec1b 100755 --- a/drivers/misc/kxtf9.c +++ b/drivers/misc/kxtf9.c @@ -1239,7 +1239,7 @@ static int __devexit kxtf9_remove(struct i2c_client *client) kxtf9_device_power_off(tf9); if (tf9->regulator) regulator_put(tf9->regulator); - cancel_work_sync(&tf9->input_work); + cancel_delayed_work_sync(&tf9->input_work); destroy_workqueue(tf9->input_work_queue); kfree(tf9->pdata); destroy_workqueue(tf9->irq_work_queue); -- 2.34.1