diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-03-11 14:24:24 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-03-11 14:24:24 +0200 |
| commit | 4d0e647f17560d968e8a0243f2783627ca632db0 (patch) | |
| tree | db2ad009dd385d80beb98c33e5313d49d05e41b0 /hid-tmt300rs.h | |
| parent | 3162692e2b59803ad947421879fbc4ca35c43b01 (diff) | |
| download | hid-tmff2-4d0e647f17560d968e8a0243f2783627ca632db0.tar.gz hid-tmff2-4d0e647f17560d968e8a0243f2783627ca632db0.zip | |
move to using delayed workqueues
Diffstat (limited to 'hid-tmt300rs.h')
| -rw-r--r-- | hid-tmt300rs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hid-tmt300rs.h b/hid-tmt300rs.h index a875a2e..4b565ce 100644 --- a/hid-tmt300rs.h +++ b/hid-tmt300rs.h @@ -3,7 +3,6 @@ #include <linux/usb.h> #include <linux/input.h> #include <linux/module.h> -#include <linux/hrtimer.h> #include <linux/slab.h> #include <linux/ktime.h> #include <linux/fixp-arith.h> @@ -119,7 +118,8 @@ struct t300rs_device_entry { struct usb_interface *usbif; struct t300rs_effect_state *states; struct t300rs_firmware_response *firmware_response; - struct hrtimer hrtimer; + + struct delayed_work work; int (*open)(struct input_dev *dev); void (*close)(struct input_dev *dev); |
