regulator: wm8400: Adjust the equation for selector >= 15 in wm8400_ldo_list_voltage
authorAxel Lin <axel.lin@gmail.com>
Tue, 12 Jun 2012 08:36:20 +0000 (16:36 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 13 Jun 2012 17:53:23 +0000 (18:53 +0100)
commit74e20e569158063970624e360c8395ac5cffd654
tree92b78dc32ca0adbdbc052d4d4abf08f1f1f866b8
parentdf2643cfa4ad4f3775838ad0c0815c465f351f92
regulator: wm8400: Adjust the equation for selector >= 15 in wm8400_ldo_list_voltage

Adjust the equation for selector >= 15 for better readability.
The equation "1700000 + ((selector - 15) * 100000)" can be interpreted by:
Starting from selector 15: Steps of 100mV from 1700mV

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