aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/Kconfig
diff options
context:
space:
mode:
authorEric Piel <eric.piel@tremplin-utc.net>2009-06-16 18:34:15 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-16 22:47:57 -0400
commitdc6ea97bac6b8228c7a69740df35eed2be3407be (patch)
tree68c14ab8e8c0c245f61d74671f2036386a0ef6ec /drivers/hwmon/Kconfig
parenta002ee896dfd08ce9fba44e9ae513c9094699a27 (diff)
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/Kconfig')
-rw-r--r--drivers/hwmon/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
index d73f5f473e38..eec7dca6b2f9 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -940,6 +940,7 @@ config SENSORS_HDAPS
940config SENSORS_LIS3LV02D 940config SENSORS_LIS3LV02D
941 tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer" 941 tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer"
942 depends on ACPI && INPUT 942 depends on ACPI && INPUT
943 select INPUT_POLLDEV
943 select NEW_LEDS 944 select NEW_LEDS
944 select LEDS_CLASS 945 select LEDS_CLASS
945 default n 946 default n
@@ -967,6 +968,7 @@ config SENSORS_LIS3LV02D
967config SENSORS_LIS3_SPI 968config SENSORS_LIS3_SPI
968 tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (SPI)" 969 tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (SPI)"
969 depends on !ACPI && SPI_MASTER && INPUT 970 depends on !ACPI && SPI_MASTER && INPUT
971 select INPUT_POLLDEV
970 default n 972 default n
971 help 973 help
972 This driver provides support for the LIS3LV02Dx accelerometer connected 974 This driver provides support for the LIS3LV02Dx accelerometer connected