Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
regulator: core: Ensure simple linear voltage mappings falls within t…
…he specified range 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>
- Loading branch information