Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 302277
b: refs/heads/master
c: ccfcb1c
h: refs/heads/master
i:
  302275: 02934bb
v: v3
  • Loading branch information
Axel Lin authored and Mark Brown committed May 14, 2012
1 parent 29d3763 commit a1c08b7
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: 684ae39b91ee7fd2855c35be7f3bf226d42516a5
refs/heads/master: ccfcb1c3cf5616ebd9c61e6c834af3b87fe6b7f7
2 changes: 1 addition & 1 deletion trunk/drivers/regulator/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2047,7 +2047,7 @@ int regulator_map_voltage_linear(struct regulator_dev *rdev,
return -EINVAL;
}

ret = (min_uV - rdev->desc->min_uV) / rdev->desc->uV_step;
ret = DIV_ROUND_UP(min_uV - rdev->desc->min_uV, rdev->desc->uV_step);
if (ret < 0)
return ret;

Expand Down

0 comments on commit a1c08b7

Please sign in to comment.