summaryrefslogtreecommitdiffstats
path: root/drivers/telephony
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@marvell.com>2010-05-04 15:54:51 +0200
committerLiam Girdwood <lrg@slimlogic.co.uk>2010-05-25 11:16:02 +0200
commit9f79e9db2e282857912bcfe7f741bcdd5c46e860 (patch)
tree690e0647b56032ef703112e6e03c0b65ddaea10c /drivers/telephony
parentregulator: make 88pm860x sharing one driver structure (diff)
downloadlinux-9f79e9db2e282857912bcfe7f741bcdd5c46e860.tar.xz
linux-9f79e9db2e282857912bcfe7f741bcdd5c46e860.zip
regulator: use voltage number array in 88pm860x
A lot of condition comparision statements are used in original driver. These statements are used to check the boundary of voltage numbers since voltage number isn't linear. Now use array of voltage numbers instead. Clean code with simpler way. Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'drivers/telephony')
0 files changed, 0 insertions, 0 deletions