summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-nvidia-shield.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid/hid-nvidia-shield.c')
-rw-r--r--drivers/hid/hid-nvidia-shield.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-nvidia-shield.c b/drivers/hid/hid-nvidia-shield.c
index ff9078ad1961..b0c40a245bf8 100644
--- a/drivers/hid/hid-nvidia-shield.c
+++ b/drivers/hid/hid-nvidia-shield.c
@@ -1102,7 +1102,7 @@ static void shield_remove(struct hid_device *hdev)
hid_hw_close(hdev);
thunderstrike_destroy(ts);
- del_timer_sync(&ts->psy_stats_timer);
+ timer_delete_sync(&ts->psy_stats_timer);
cancel_work_sync(&ts->hostcmd_req_work);
hid_hw_stop(hdev);
}