OSDN Git Service

hwmon: (adt7411) add min, max and alarm attributes
authorMichael Walle <michael@walle.cc>
Thu, 15 Dec 2016 17:38:17 +0000 (18:38 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 2 Jan 2017 18:19:45 +0000 (10:19 -0800)
commit9bb2d47d744dcb33ca896a023ee8fffc0bdbb3cf
tree4dbf6cab643b76c77d8c4f7c6c681ef3557785d2
parent5da99328f2595d2b376fcd2a87974b658f396da8
hwmon: (adt7411) add min, max and alarm attributes

This patch adds support for the min, max and alarm attributes of the
voltage and temperature channels. Additionally, the temp2_fault attribute
is supported which indicates a fault of the external temperature diode.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/adt7411.c