diff options
author | Guenter Roeck <linux@roeck-us.net> | 2012-01-19 14:02:16 -0500 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2012-03-18 21:26:54 -0400 |
commit | 3c56b066fb62e4aee95e4b3acff35296765a25d1 (patch) | |
tree | 22811a6610c2134374b763a9b2bb9f8678df0b6b /drivers/hwmon/asc7621.c | |
parent | 4a0d71cfdc30b645714ee5672f39c35c67e8e2a2 (diff) |
hwmon: (asc7621) Fix multi-line comments
Cc: George Joseph <george.joseph@fairview5.com>
Acked-by: George Joseph <george.joseph@fairview5.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/asc7621.c')
-rw-r--r-- | drivers/hwmon/asc7621.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/hwmon/asc7621.c b/drivers/hwmon/asc7621.c index 3efd3244998..7caa242915a 100644 --- a/drivers/hwmon/asc7621.c +++ b/drivers/hwmon/asc7621.c | |||
@@ -268,9 +268,11 @@ static ssize_t store_fan16(struct device *dev, | |||
268 | if (kstrtol(buf, 10, &reqval)) | 268 | if (kstrtol(buf, 10, &reqval)) |
269 | return -EINVAL; | 269 | return -EINVAL; |
270 | 270 | ||
271 | /* If a minimum RPM of zero is requested, then we set the register to | 271 | /* |
272 | 0xffff. This value allows the fan to be stopped completely without | 272 | * If a minimum RPM of zero is requested, then we set the register to |
273 | generating an alarm. */ | 273 | * 0xffff. This value allows the fan to be stopped completely without |
274 | * generating an alarm. | ||
275 | */ | ||
274 | reqval = | 276 | reqval = |
275 | (reqval <= 0 ? 0xffff : SENSORS_LIMIT(5400000 / reqval, 0, 0xfffe)); | 277 | (reqval <= 0 ? 0xffff : SENSORS_LIMIT(5400000 / reqval, 0, 0xfffe)); |
276 | 278 | ||