]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite8eb2b728b90caf12f16a9bbea556a70dc1f80cf
treeb0a5a57ec8c0c3e30137a244bf754b69c1b4e906
parent8ef1ba1d159cacc59d9800275f25eb589d1fa5fd
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