regulator: max1586 - improve the logic of choosing selector
authorAxel Lin <axel.lin@gmail.com>
Wed, 18 Aug 2010 03:37:21 +0000 (11:37 +0800)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Wed, 1 Sep 2010 11:59:33 +0000 (12:59 +0100)
commit3e352f9e02a37c11df695aabfe49faebf507971b
treef48f179e52992dc22707171c93ef4d2b9df39929
parentd4876a3bc041e8e40af20b8addbec6d0a42e3842
regulator: max1586 - improve the logic of choosing selector

A little bit improvement in the logic of choosing selector.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/max1586.c