Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 283426
b: refs/heads/master
c: 91d8b0d
h: refs/heads/master
v: v3
  • Loading branch information
Philip Rakity authored and Anton Vorontsov committed Aug 19, 2011
1 parent 6fc456a commit f006a0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 4cfa892c03b35f3c61d93e0d8d97ff8db074818f
refs/heads/master: 91d8b0d6f81d2946962ee559090a34834dfd467b
3 changes: 1 addition & 2 deletions trunk/drivers/power/max17042_battery.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,7 @@ static int max17042_get_property(struct power_supply *psy,
val->intval++;
val->intval *= -1;
}
val->intval >>= 4;
val->intval *= 1000000 * 25 / chip->pdata->r_sns;
val->intval *= 1562500 / chip->pdata->r_sns;
} else {
return -EINVAL;
}
Expand Down

0 comments on commit f006a0b

Please sign in to comment.