Skip to contentSkip to conversation

hwmon: (nct7904) Rename pwm attributes to match hwmon ABI

PATCH New Guenter Roeck 1 participant 1 message Jul 27, 2015

Subsystems (2)
lore
Share & tools
lore

Guenter Roeck

author maintainer
#0 lore raw

PATCH v2 1/1 hwmon: (nct7904) Rename pwm attributes to match hwmon ABI

pwm attributes have well defined names, which should be used.

Cc Vadim V. Vlasov <[email protected]>

---
v2: Update documentation as well.

 Documentation/hwmon/nct7904 |  4 ++--
 drivers/hwmon/nct7904.c     | 57 +++++++++++++++++++++++----------------------
 2 files changed, 31 insertions(+), 30 deletions(-)
Documentation/hwmon/nct7904 +2 -2
index 014f112e2a14..57fffe33ebfc 100644
@@ -35,11 +35,11 @@ temp1_input		Local temperature (1/1000 degree,
 temp[2-9]_input		CPU temperatures (1/1000 degree,
 			0.125 degree resolution)
 
-fan[1-4]_mode		R/W, 0/1 for manual or SmartFan mode
+pwm[1-4]_enable		R/W, 1/2 for manual or SmartFan mode
 			Setting SmartFan mode is supported only if it has been
 			previously configured by BIOS (or configuration EEPROM)
 
-fan[1-4]_pwm		R/O in SmartFan mode, R/W in manual control mode
+pwm[1-4]		R/O in SmartFan mode, R/W in manual control mode
 
 The driver checks sensor control registers and does not export the sensors
 that are not enabled. Anyway, a sensor that is enabled may actually be not
drivers/hwmon/nct7904.c +29 -28

91 lines not on this page · raw message

Signature · 7 lines
2.1.0


_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors