hwmon: (adm1031) Replace update_rate sysfs attribute with update_interval
Subsystems (2)
PATCH v2 1/2 hwmon: (adm1031) Replace update_rate sysfs attribute with update_interval
The attribute reflects an interval, not a rate.
Signed-off-by Guenter Roeck <[email protected]>
Acked-by Ira W. Snyder <[email protected]>
---
v2: Modified sysfs-interface text
Documentation/hwmon/sysfs-interface | 9 +++---- drivers/hwmon/adm1031.c | 43 +++++++++++++++++++--------------- 2 files changed, 28 insertions(+), 24 deletions(-)
Documentation/hwmon/sysfs-interface +4 -5
@@ -91,12 +91,11 @@ name The chip name. I2C devices get this attribute created automatically. RO -update_rate The rate at which the chip will update readings. - Unit: millisecond +update_interval The interval at which the chip will update readings. + Unit: milliseconds RW - Some devices have a variable update rate. This attribute - can be used to change the update rate to the desired - frequency. + Some devices have a variable update rate or interval. + This attribute can be used to change it to the desired value. ************
drivers/hwmon/adm1031.c +24 -19
101 lines not on this page · raw message
Signature · 1 line
1.7.0.87.g0901d
Jean Delvare
AppliedQuoted 11 lines · Guenter Roeck
The attribute reflects an interval, not a rate.
Signed-off-by Guenter Roeck <[email protected]>Acked-by Ira W. Snyder <[email protected]>---
v2: Modified sysfs-interface textDocumentation/hwmon/sysfs-interface | 9 +++---- drivers/hwmon/adm1031.c | 43 +++++++++++++++++++--------------- 2 files changed, 28 insertions(+), 24 deletions(-)
Applied, thanks.
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors