]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (adt7x10) Add alarm interrupt support
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 12 Mar 2013 10:38:47 +0000 (11:38 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 8 Apr 2013 04:16:38 +0000 (21:16 -0700)
commit14db96c093f23f6c50f8bba90da5c27b636034b8
tree2550bb81ab1b0712f190f030c7cead7fc74e7aa8
parentdbf48fdbb51ac54d8a68a39fd45e174c41c6e23f
hwmon: (adt7x10) Add alarm interrupt support

This allows an userspace application to poll() on the alarm files to get
notified in case of a temperature threshold event.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Reviewed-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/adt7310.c
drivers/hwmon/adt7410.c
drivers/hwmon/adt7x10.c
drivers/hwmon/adt7x10.h