aboutsummaryrefslogtreecommitdiff
path: root/hid-tmt300rs.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-01-27 15:45:41 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2022-01-27 15:45:41 +0200
commit4503f35397f24623ecb286dbea6685a9be67b7d9 (patch)
tree2fa6091c9222621184cbb4233fd0674999b5d08b /hid-tmt300rs.c
parent6435ec299af7caedca4f0e648b122b52e76f34fb (diff)
downloadhid-tmff2-4503f35397f24623ecb286dbea6685a9be67b7d9.tar.gz
hid-tmff2-4503f35397f24623ecb286dbea6685a9be67b7d9.zip
add in stick shifter to T300RS PS4 rdesc
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);