aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/ltc4245.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2012-01-19 14:02:22 -0500
committerGuenter Roeck <guenter.roeck@ericsson.com>2012-03-18 21:27:01 -0400
commit430b4fcd82eb3e71254c1ea13998524301489f2f (patch)
treedfb633e11fe6dd3c3dc2182c584dd6ba34fe101f /drivers/hwmon/ltc4245.c
parenta68abd32b911f9d3d0370c3992a770d4ea62496b (diff)
hwmon: (ltc4245) Fix multi-line comments
Cc: Ira W. Snyder <iws@ovro.caltech.edu> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Ira W. Snyder <iws@ovro.caltech.edu>
Diffstat (limited to 'drivers/hwmon/ltc4245.c')
-rw-r--r--drivers/hwmon/ltc4245.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/hwmon/ltc4245.c b/drivers/hwmon/ltc4245.c
index 693a6bd4e5de..b99b45bafdad 100644
--- a/drivers/hwmon/ltc4245.c
+++ b/drivers/hwmon/ltc4245.c
@@ -214,7 +214,8 @@ static unsigned int ltc4245_get_current(struct device *dev, u8 reg)
214 unsigned int voltage; 214 unsigned int voltage;
215 unsigned int curr; 215 unsigned int curr;
216 216
217 /* The strange looking conversions that follow are fixed-point 217 /*
218 * The strange looking conversions that follow are fixed-point
218 * math, since we cannot do floating point in the kernel. 219 * math, since we cannot do floating point in the kernel.
219 * 220 *
220 * Step 1: convert sense register to microVolts 221 * Step 1: convert sense register to microVolts
@@ -317,7 +318,8 @@ static ssize_t ltc4245_show_gpio(struct device *dev,
317 return snprintf(buf, PAGE_SIZE, "%u\n", val * 10); 318 return snprintf(buf, PAGE_SIZE, "%u\n", val * 10);
318} 319}
319 320
320/* These macros are used below in constructing device attribute objects 321/*
322 * These macros are used below in constructing device attribute objects
321 * for use with sysfs_create_group() to make a sysfs device file 323 * for use with sysfs_create_group() to make a sysfs device file
322 * for each register. 324 * for each register.
323 */ 325 */
@@ -391,7 +393,8 @@ LTC4245_POWER(power2_input, LTC4245_5VSENSE);
391LTC4245_POWER(power3_input, LTC4245_3VSENSE); 393LTC4245_POWER(power3_input, LTC4245_3VSENSE);
392LTC4245_POWER(power4_input, LTC4245_VEESENSE); 394LTC4245_POWER(power4_input, LTC4245_VEESENSE);
393 395
394/* Finally, construct an array of pointers to members of the above objects, 396/*
397 * Finally, construct an array of pointers to members of the above objects,
395 * as required for sysfs_create_group() 398 * as required for sysfs_create_group()
396 */ 399 */
397static struct attribute *ltc4245_std_attributes[] = { 400static struct attribute *ltc4245_std_attributes[] = {