hwmon: (nct6775) Fix comment in the description of pwm_mode
Guenter Roeck
maintainerPATCH 1/1 hwmon: (nct6775) Fix comment in the description of pwm_mode
Commit 415eb2a1aaa488 ("hwmon: (nct6775) Fix writing pwmX_mode") changed the definition of the pwm_mode variable, but did not update the comment describing it.
Reported-by Ben Hutchings <[email protected]>
Cc Ben Hutchings <[email protected]>
Signed-off-by Guenter Roeck <[email protected]>
--- drivers/hwmon/nct6775.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/hwmon/nct6775.c +2 -2
@@ -1050,8 +1050,8 @@ struct nct6775_data {u64 beeps;u8 pwm_num;/* number of pwm */ -u8 pwm_mode[NUM_FAN ];/* 1->DC variable voltage, -* 0->PWM variable duty cycle +u8 pwm_mode[NUM_FAN ];/* 0->DC variable voltage, +* 1->PWM variable duty cycle */ enum pwm_enable pwm_enable[NUM_FAN ];/* 0->off
Signature · 1 line
2.7.4