regulator: tps65217: Use DIV_ROUND_UP macro to calculate selector
authorAxel Lin <axel.lin@gmail.com>
Tue, 6 Mar 2012 01:54:22 +0000 (09:54 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 11 Mar 2012 20:48:52 +0000 (20:48 +0000)
commit2fe4e0259dfd6d66f2a094b5109f11f8d253e764
tree604c97f242999d6a107465545cfea0dc85de6268
parentae76e8307ff2812a57692a54322c6898a949ae76
regulator: tps65217: 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/tps65217-regulator.c