summaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/sx8654.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/touchscreen/sx8654.c')
-rw-r--r--drivers/input/touchscreen/sx8654.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/sx8654.c b/drivers/input/touchscreen/sx8654.c
index f5c5881cef6b..e59b8d0ed19e 100644
--- a/drivers/input/touchscreen/sx8654.c
+++ b/drivers/input/touchscreen/sx8654.c
@@ -290,7 +290,7 @@ static void sx8654_close(struct input_dev *dev)
disable_irq(client->irq);
if (!sx8654->data->has_irq_penrelease)
- del_timer_sync(&sx8654->timer);
+ timer_delete_sync(&sx8654->timer);
/* enable manual mode mode */
error = i2c_smbus_write_byte(client, sx8654->data->cmd_manual);