Skip to contentSkip to conversation

hwmon: (lm73) Fix multi-line comments

PATCH Superseded Guenter Roeck 1 participant 1 message Jan 19, 2012

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Guenter Roeck

author maintainer
#0 lore raw

PATCH 33/82 hwmon: (lm73) Fix multi-line comments

Cc Guillaume Ligneul <[email protected]>
---
 drivers/hwmon/lm73.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
drivers/hwmon/lm73.c +4 -2
index 9c8093c..343740f 100644
@@ -66,8 +66,10 @@ static ssize_t show_temp(struct device *dev, struct device_attribute *da,
 {
 	struct sensor_device_attribute *attr = to_sensor_dev_attr(da);
 	struct i2c_client *client = to_i2c_client(dev);
-	/* use integer division instead of equivalent right shift to
-	   guarantee arithmetic shift and preserve the sign */
+	/*
+	 * use integer division instead of equivalent right shift to
+	 * guarantee arithmetic shift and preserve the sign
+	 */
 	int temp = ((s16) (i2c_smbus_read_word_swapped(client,
 		    attr->index))*250) / 32;
 	return sprintf(buf, "%d\n", temp);
Signature · 7 lines
1.7.5.4


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