regulator: ad5398: Use DIV_ROUND_UP macro to calculate selector
authorAxel Lin <axel.lin@gmail.com>
Fri, 2 Mar 2012 08:20:54 +0000 (16:20 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 11 Mar 2012 20:48:49 +0000 (20:48 +0000)
commit8148ed6e6618598729efa53d3a1f905379de801e
treed75b15b5e6d372f260e3b27d9acaa93c77e3ac15
parentb21bcd1ada026cd90243311e89dd8d999fe0a227
regulator: ad5398: Use DIV_ROUND_UP macro to calculate selector

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/ad5398.c