]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: max8997: Use simple equation to get selector
authorAxel Lin <axel.lin@gmail.com>
Tue, 10 Apr 2012 06:20:03 +0000 (14:20 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 10 Apr 2012 09:14:01 +0000 (10:14 +0100)
commit490e2bf163942eb7d29cbf099844262e3a00d0d0
tree33c69d226ba54a28222071360e4f4cd17d5fce2b
parentc0b9086020dce10a37549b2301989a37d345c64e
regulator: max8997: Use simple equation to get selector

It's more efficient to get the best selector by simple equation.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/max8997.c