HWMON: hdaps - switch to using input-polldev
authorDmitry Torokhov <dtor@insightbb.com>
Sat, 13 Oct 2007 01:30:36 +0000 (21:30 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 13 Oct 2007 01:30:36 +0000 (21:30 -0400)
Switch to using input-polldev skeleton instead of implementing polling loop
by itself.  This also fixes problem with trylock on a mutex in atomic
context.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/hwmon/Kconfig
drivers/hwmon/hdaps.c

index e8f44b5..dd9dc47 100644 (file)
@@ -645,6 +645,7 @@ config SENSORS_W83627EHF
 config SENSORS_HDAPS
        tristate "IBM Hard Drive Active Protection System (hdaps)"
        depends on INPUT && X86
+       select INPUT_POLLDEV
        default n
        help
          This driver provides support for the IBM Hard Drive Active Protection
Simple merge