[PATCH 1/2] hwmon: (ucd9000) Add support for clearing logged faults via sysfs

From: Christopher Bostic
Date: Wed Aug 30 2017 - 14:56:04 EST


Create an attribute to allow clearing of logged faults.

Signed-off-by: Christopher Bostic <cbostic@xxxxxxxxxxxxxxxxxx>
---
Documentation/hwmon/ucd9000 | 2 ++
1 file changed, 2 insertions(+)

diff --git a/Documentation/hwmon/ucd9000 b/Documentation/hwmon/ucd9000
index 262e713..de7f7f23 100644
--- a/Documentation/hwmon/ucd9000
+++ b/Documentation/hwmon/ucd9000
@@ -116,3 +116,5 @@ fan[1-4]_fault Fan fault.
created only for enabled fans.
Note that even though UCD90910 supports up to 10 fans,
only up to four fans are currently supported.
+
+clear_logged_faults Write only. Echo any value to clear logged faults.
--
1.8.2.2