aboutsummaryrefslogtreecommitdiffstats
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 e59b8d0ed19e..5fa47a1a6fdc 100644
--- a/drivers/input/touchscreen/sx8654.c
+++ b/drivers/input/touchscreen/sx8654.c
@@ -116,7 +116,7 @@ static inline void sx865x_penrelease(struct sx8654 *ts)
static void sx865x_penrelease_timer_handler(struct timer_list *t)
{
- struct sx8654 *ts = from_timer(ts, t, timer);
+ struct sx8654 *ts = timer_container_of(ts, t, timer);
unsigned long flags;
spin_lock_irqsave(&ts->lock, flags);