regulator: tps6507x: Avoid duplicating the same mapping table for LDO2 and VDCDCx
authorAxel Lin <axel.lin@gmail.com>
Tue, 5 Jun 2012 00:58:13 +0000 (08:58 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 5 Jun 2012 10:20:53 +0000 (11:20 +0100)
commit93b07e7bcd50bb73d3d60043438fa68bd5a0988b
tree84471a33758fd2d30a6f19cb87a579f9f09c6d4d
parentf03c4a57cf0cbb4f961bca287f8bdfd3d6eb7e1a
regulator: tps6507x: Avoid duplicating the same mapping table for LDO2 and VDCDCx

The voltage mapping table for LDO2 is exactly the same as VDCDCx.
Thus we can use one mapping table for both LDO2 and VDCDCx instead of
duplicating the mapping table.

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