Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 292059
b: refs/heads/master
c: dce7304
h: refs/heads/master
i:
  292057: b28eb73
  292055: 93da967
v: v3
  • Loading branch information
Axel Lin authored and Mark Brown committed Mar 12, 2012
1 parent 07331dc commit 7334bb9
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 85c5d86d0e87bd843d711dcb7427c6ba64f736d1
refs/heads/master: dce7304f4b8ea9e12c1bd58747f16f579c4d7b2d
2 changes: 1 addition & 1 deletion trunk/drivers/regulator/wm8350-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ static int wm8350_isink_get_current(struct regulator_dev *rdev)
return 0;
}

return (isink_cur[val] + 50) / 100;
return DIV_ROUND_CLOSEST(isink_cur[val], 100);
}

/* turn on ISINK followed by DCDC */
Expand Down

0 comments on commit 7334bb9

Please sign in to comment.