]> 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)
commit215a572d3c011f7fbc952583bd8ae084045bf1cf
tree2550bb81ab1b0712f190f030c7cead7fc74e7aa8
parentb17951950ec8f362f8e5956384df7aa7be22dab4
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