aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2020-12-22 10:42:54 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2020-12-22 10:42:54 +0200
commit45af2075a74ae738646028a44ecaa876f6e4c2dc (patch)
tree29875f2fa977939162e241f7df665ace59e6b7ce
parent3e03c3d7fe270cea549cac60b7885e1a4aeb75e0 (diff)
downloadhid-tmff2-45af2075a74ae738646028a44ecaa876f6e4c2dc.tar.gz
hid-tmff2-45af2075a74ae738646028a44ecaa876f6e4c2dc.zip
Removed deprecated and uneccessary kzfree
-rw-r--r--hid-tminit.c2
-rw-r--r--hid-tmt300rs.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/hid-tminit.c b/hid-tminit.c
index ba52ea3..b4b7b90 100644
--- a/hid-tminit.c
+++ b/hid-tminit.c
@@ -41,7 +41,7 @@ static void tminit_interrupts(struct hid_device *hdev){
}
- kzfree(send_buf);
+ kfree(send_buf);
}
int tminit(struct hid_device *hdev){
diff --git a/hid-tmt300rs.h b/hid-tmt300rs.h
index 2d05127..7069394 100644
--- a/hid-tmt300rs.h
+++ b/hid-tmt300rs.h
@@ -1,6 +1,7 @@
#include "hid-tm.h"
#include "usbhid.h"
#include <linux/hrtimer.h>
+#include <linux/slab.h>
#include <linux/ktime.h>
#include <linux/fixp-arith.h>