lis3: use input_polled_device
authorEric Piel <eric.piel@tremplin-utc.net>
Tue, 16 Jun 2009 22:34:15 +0000 (15:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Jun 2009 02:47:57 +0000 (19:47 -0700)
commitdc6ea97bac6b8228c7a69740df35eed2be3407be
tree68c14ab8e8c0c245f61d74671f2036386a0ef6ec
parenta002ee896dfd08ce9fba44e9ae513c9094699a27
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>
drivers/hwmon/Kconfig
drivers/hwmon/hp_accel.c
drivers/hwmon/lis3lv02d.c
drivers/hwmon/lis3lv02d.h