From 2e5defb9a53fb2d9ea448e950eb55c6029df779e Mon Sep 17 00:00:00 2001 From: Guenter Roeck Date: Thu, 19 Jan 2012 11:02:16 -0800 Subject: [PATCH] --- yaml --- r: 292140 b: refs/heads/master c: 3c56b066fb62e4aee95e4b3acff35296765a25d1 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/hwmon/asc7621.c | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 69c02bfb9754..4d74b755663e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4a0d71cfdc30b645714ee5672f39c35c67e8e2a2 +refs/heads/master: 3c56b066fb62e4aee95e4b3acff35296765a25d1 diff --git a/trunk/drivers/hwmon/asc7621.c b/trunk/drivers/hwmon/asc7621.c index 3efd32449982..7caa242915a6 100644 --- a/trunk/drivers/hwmon/asc7621.c +++ b/trunk/drivers/hwmon/asc7621.c @@ -268,9 +268,11 @@ static ssize_t store_fan16(struct device *dev, if (kstrtol(buf, 10, &reqval)) 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 - generating an alarm. */ + /* + * 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 + * generating an alarm. + */ reqval = (reqval <= 0 ? 0xffff : SENSORS_LIMIT(5400000 / reqval, 0, 0xfffe));