summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/tps65217-regulator.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-03-12 10:17:56 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-03-12 10:48:18 +0000
commitdce7304f4b8ea9e12c1bd58747f16f579c4d7b2d (patch)
tree474c7a3fe80bc3f4efb5fc462df2087b959c4b94 /drivers/regulator/tps65217-regulator.c
parent85c5d86d0e87bd843d711dcb7427c6ba64f736d1 (diff)
downloadop-kernel-dev-dce7304f4b8ea9e12c1bd58747f16f579c4d7b2d.zip
op-kernel-dev-dce7304f4b8ea9e12c1bd58747f16f579c4d7b2d.tar.gz
regulator: Use DIV_ROUND_CLOSEST in wm8350_isink_get_current
DIV_ROUND_CLOSEST performs the computation (x + d/2)/d with better readability. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/tps65217-regulator.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud