git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
684ae39
)
regulator: core: Ensure simple linear voltage mappings falls within the specified...
author
Axel Lin
<axel.lin@gmail.com>
Mon, 14 May 2012 02:33:37 +0000
(10:33 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Mon, 14 May 2012 08:11:34 +0000
(09:11 +0100)
Integer division may truncate the result.
Use DIV_ROUND_UP to ensure simple linear voltage mappings falls within the
specified range.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
No differences found