hwmon: (nct7904) Rename pwm attributes to match hwmon ABI
Subsystems (2)
Guenter Roeck
maintainerPATCH 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]>
Signed-off-by Guenter Roeck <[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
@@ -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