diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2020-12-22 10:42:54 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2020-12-22 10:42:54 +0200 |
| commit | 45af2075a74ae738646028a44ecaa876f6e4c2dc (patch) | |
| tree | 29875f2fa977939162e241f7df665ace59e6b7ce | |
| parent | 3e03c3d7fe270cea549cac60b7885e1a4aeb75e0 (diff) | |
| download | hid-tmff2-45af2075a74ae738646028a44ecaa876f6e4c2dc.tar.gz hid-tmff2-45af2075a74ae738646028a44ecaa876f6e4c2dc.zip | |
Removed deprecated and uneccessary kzfree
| -rw-r--r-- | hid-tminit.c | 2 | ||||
| -rw-r--r-- | hid-tmt300rs.h | 1 |
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> |
