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

Christopher Bostic cbostic at linux.vnet.ibm.com
Thu Aug 31 04:55:35 AEST 2017


Create an attribute to allow clearing of logged faults.

Signed-off-by: Christopher Bostic <cbostic at linux.vnet.ibm.com>
---
 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



More information about the openbmc mailing list