regulator: max8649: Use DIV_ROUND_UP macro to calculate selector
authorAxel Lin <axel.lin@gmail.com>
Thu, 8 Mar 2012 02:05:24 +0000 (10:05 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 11 Mar 2012 20:48:54 +0000 (20:48 +0000)
commit21c9e5f19ee68632d939f94a90fb33d3e6a111df
treeb0a5a57ec8c0c3e30137a244bf754b69c1b4e906
parentf08f5de54f419776e8133693d152ff3a016f2a9a
regulator: max8649: Use DIV_ROUND_UP macro to calculate selector

Use DIV_ROUND_UP macro for better readability.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/max8649.c