Skip to contentSkip to conversation

hwmon: (asc7621) Fix multi-line comments

PATCH Superseded Guenter Roeck 2 participants 2 messages Jan 19, 2012 – Jan 20, 2012

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Guenter Roeck

author maintainer
#0 lore raw

PATCH 15/82 hwmon: (asc7621) Fix multi-line comments

---
 drivers/hwmon/asc7621.c |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
drivers/hwmon/asc7621.c +5 -3
index 3efd324..7caa242 100644
@@ -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));
 
Signature · 7 lines
1.7.5.4


_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
maintainer Acked-by on v1 15/82
#1 lore raw
Quoted 25 lines · Guenter Roeck

---
 drivers/hwmon/asc7621.c |    8 +++++---

 1 files changed, 5 insertions(+), 3 deletions(-)
drivers/hwmon/asc7621.c +5 -3
index 3efd324..7caa242 100644
@@ -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));

Quoted 3 lines

--
1.7.5.4

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors