From: Guenter Roeck Date: Mon, 18 Jun 2018 16:21:46 +0000 (-0700) Subject: hwmon: (nct6775) Fix comment in the description of pwm_mode X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=57fec3acb47c99c688de9daf4c6a2ffa364cdb16;p=openwrt%2Fstaging%2Fblogic.git 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 Cc: Ben Hutchings Signed-off-by: Guenter Roeck --- diff --git a/drivers/hwmon/nct6775.c b/drivers/hwmon/nct6775.c index f9d1349c3286..37149909f8a8 100644 --- a/drivers/hwmon/nct6775.c +++ b/drivers/hwmon/nct6775.c @@ -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