aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-letsketch.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid/hid-letsketch.c')
-rw-r--r--drivers/hid/hid-letsketch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/hid/hid-letsketch.c b/drivers/hid/hid-letsketch.c
index 8602c63ed9c6..11e21f988723 100644
--- a/drivers/hid/hid-letsketch.c
+++ b/drivers/hid/hid-letsketch.c
@@ -155,7 +155,8 @@ static int letsketch_setup_input_tablet_pad(struct letsketch_data *data)
static void letsketch_inrange_timeout(struct timer_list *t)
{
- struct letsketch_data *data = from_timer(data, t, inrange_timer);
+ struct letsketch_data *data = timer_container_of(data, t,
+ inrange_timer);
struct input_dev *input = data->input_tablet;
input_report_key(input, BTN_TOOL_PEN, 0);