Commit 3c56b066 authored by Guenter Roeck's avatar Guenter Roeck Committed by Guenter Roeck

hwmon: (asc7621) Fix multi-line comments

Cc: George Joseph <george.joseph@fairview5.com>
Acked-by: default avatarGeorge Joseph <george.joseph@fairview5.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 4a0d71cf
...@@ -268,9 +268,11 @@ static ssize_t store_fan16(struct device *dev, ...@@ -268,9 +268,11 @@ static ssize_t store_fan16(struct device *dev,
if (kstrtol(buf, 10, &reqval)) if (kstrtol(buf, 10, &reqval))
return -EINVAL; return -EINVAL;
/* If a minimum RPM of zero is requested, then we set the register to /*
0xffff. This value allows the fan to be stopped completely without * If a minimum RPM of zero is requested, then we set the register to
generating an alarm. */ * 0xffff. This value allows the fan to be stopped completely without
* generating an alarm.
*/
reqval = reqval =
(reqval <= 0 ? 0xffff : SENSORS_LIMIT(5400000 / reqval, 0, 0xfffe)); (reqval <= 0 ? 0xffff : SENSORS_LIMIT(5400000 / reqval, 0, 0xfffe));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment