regulator: wm8400: Use DIV_ROUND_UP macro to calculate selector
authorAxel Lin <axel.lin@gmail.com>
Tue, 6 Mar 2012 01:56:05 +0000 (09:56 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 11 Mar 2012 20:48:51 +0000 (20:48 +0000)
commite9a15c8cad2a23e86a8e6457a3ab0ab3bda50d35
tree12053f31464991a3c048afbef9286cba42dbc9fa
parent1c37f8a838fa8b1e98a984893bd4f1a8a9849421
regulator: wm8400: 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/wm8400-regulator.c
This page took 0.025378 seconds and 5 git commands to generate.