Skip to contentSkip to conversation

hwmon: (adm1031) Replace update_rate sysfs attribute with update_interval

PATCH Applied Guenter Roeck 2 participants 2 messages Sep 16, 2010 – Sep 17, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 hwmon: (adm1031) Replace update_rate sysfs attribute with update_interval

The attribute reflects an interval, not a rate.

---
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
index ff45d1f..dcb7636 100644
@@ -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
Applied
#1 lore raw
Quoted 11 lines · Guenter Roeck

The attribute reflects an interval, not a rate.

---
v2: Modified sysfs-interface text

 Documentation/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