aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2012-01-19 14:02:13 -0500
committerGuenter Roeck <guenter.roeck@ericsson.com>2012-03-18 21:26:58 -0400
commit8deeac82b3f3e73f50ca7109ea0029764b33874f (patch)
treea5e4cf0b08013e9f5ae87316eb224a4a08a74f32 /drivers/hwmon
parent5d577dba0443634f11fec0547b6cbca5ac0b0e57 (diff)
hwmon: (ad7414) Fix multi-line comments
Cc: Stefan Roese <sr@denx.de> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/ad7414.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/hwmon/ad7414.c b/drivers/hwmon/ad7414.c
index 36465006c4fb..06d2d60d1fd0 100644
--- a/drivers/hwmon/ad7414.c
+++ b/drivers/hwmon/ad7414.c
@@ -50,7 +50,8 @@ struct ad7414_data {
50/* REG: (0.25C/bit, two's complement) << 6 */ 50/* REG: (0.25C/bit, two's complement) << 6 */
51static inline int ad7414_temp_from_reg(s16 reg) 51static inline int ad7414_temp_from_reg(s16 reg)
52{ 52{
53 /* use integer division instead of equivalent right shift to 53 /*
54 * use integer division instead of equivalent right shift to
54 * guarantee arithmetic shift and preserve the sign 55 * guarantee arithmetic shift and preserve the sign
55 */ 56 */
56 return ((int)reg / 64) * 250; 57 return ((int)reg / 64) * 250;