aboutsummaryrefslogtreecommitdiff
path: root/hid-tmt300rs.c
diff options
context:
space:
mode:
Diffstat (limited to 'hid-tmt300rs.c')
-rw-r--r--hid-tmt300rs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hid-tmt300rs.c b/hid-tmt300rs.c
index 4bd8bc3..36df5ee 100644
--- a/hid-tmt300rs.c
+++ b/hid-tmt300rs.c
@@ -1621,6 +1621,7 @@ static void t300rs_remove(struct hid_device *hdev)
}
hrtimer_cancel(&t300rs->hrtimer);
+ drv_data->device_props = NULL;
device_remove_file(&hdev->dev, &dev_attr_range);
device_remove_file(&hdev->dev, &dev_attr_adv_mode);