Skip to content

Commit

Permalink
hwmon: (ad7414) Fix multi-line comments
Browse files Browse the repository at this point in the history
Cc: Stefan Roese <sr@denx.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Stefan Roese <sr@denx.de>
  • Loading branch information
groeck authored and Guenter Roeck committed Mar 19, 2012
1 parent 5d577db commit 8deeac8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/hwmon/ad7414.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ struct ad7414_data {
/* REG: (0.25C/bit, two's complement) << 6 */
static inline int ad7414_temp_from_reg(s16 reg)
{
/* use integer division instead of equivalent right shift to
/*
* use integer division instead of equivalent right shift to
* guarantee arithmetic shift and preserve the sign
*/
return ((int)reg / 64) * 250;
Expand Down

0 comments on commit 8deeac8

Please sign in to comment.