diff options
author | Eric Piel <eric.piel@tremplin-utc.net> | 2009-06-16 15:34:15 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-16 19:47:57 -0700 |
commit | dc6ea97bac6b8228c7a69740df35eed2be3407be (patch) | |
tree | 68c14ab8e8c0c245f61d74671f2036386a0ef6ec /drivers/hwmon/hp_accel.c | |
parent | a002ee896dfd08ce9fba44e9ae513c9094699a27 (diff) | |
download | talos-op-linux-dc6ea97bac6b8228c7a69740df35eed2be3407be.tar.gz talos-op-linux-dc6ea97bac6b8228c7a69740df35eed2be3407be.zip |
lis3: use input_polled_device
Now that there is no need to hookup on the open/close of the joystick,
it's possible to use the simplified interface input_polled_device, instead
of creating our own kthread.
[randy.dunlap@oracle.com: fix Kconfig]
[randy.dunlap@oracle.com: fix Kconfig some more]
Signed-off-by: Eric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/hwmon/hp_accel.c')
-rw-r--r-- | drivers/hwmon/hp_accel.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/hwmon/hp_accel.c b/drivers/hwmon/hp_accel.c index 0ebd0099e602..92db68ea948a 100644 --- a/drivers/hwmon/hp_accel.c +++ b/drivers/hwmon/hp_accel.c @@ -27,9 +27,6 @@ #include <linux/types.h> #include <linux/platform_device.h> #include <linux/interrupt.h> -#include <linux/input.h> -#include <linux/kthread.h> -#include <linux/semaphore.h> #include <linux/delay.h> #include <linux/wait.h> #include <linux/poll.h> |