hwmon: (ftsteutates) Fix clearing alarm sysfs entries
authorThilo Cestonaro <thilo.cestonaro@ts.fujitsu.com>
Thu, 3 Aug 2017 09:43:51 +0000 (11:43 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 13 Aug 2017 15:24:01 +0000 (08:24 -0700)
commit7576750f036b5ec913aac2a165ce75ab3b7beee3
tree0cb7532b905da4666b530d40477328b719246f5e
parentaae4e7a8bc44722fe70d58920a36916b1043195e
hwmon: (ftsteutates) Fix clearing alarm sysfs entries

sysfs store functions should return the number of bytes written.
Returning zero results in an endless loop.

Fixes: 08426eda58e0 ("hwmon: Add driver for FTS BMC chip "Teutates"")
Signed-off-by: Thilo Cestonaro <thilo.cestonaro@ts.fujitsu.com>
[groeck: Clean up documentation change and description]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/ftsteutates
drivers/hwmon/ftsteutates.c