Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 292146
b: refs/heads/master
c: 8deeac8
h: refs/heads/master
v: v3
  • Loading branch information
Guenter Roeck authored and Guenter Roeck committed Mar 19, 2012
1 parent 13bd8c3 commit f2e0024
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5d577dba0443634f11fec0547b6cbca5ac0b0e57
refs/heads/master: 8deeac82b3f3e73f50ca7109ea0029764b33874f
3 changes: 2 additions & 1 deletion trunk/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 f2e0024

Please sign in to comment.