regulator: Use array to store dcdc_range settings for tps65912
authorAxel Lin <axel.lin@gmail.com>
Thu, 8 Mar 2012 23:05:41 +0000 (07:05 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 11 Mar 2012 20:49:35 +0000 (20:49 +0000)
Then we can use the regulator id as array index to access the array.
This change makes the code simpler.

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

No differences found