]> git.karo-electronics.de Git - linux-beck.git/commit
regulator: tps6507x: Remove num_voltages array
authorAxel Lin <axel.lin@gmail.com>
Tue, 2 Aug 2011 07:34:12 +0000 (15:34 +0800)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Mon, 8 Aug 2011 16:15:09 +0000 (17:15 +0100)
commit0fcdb109a50afb8b26709175937ba3de9486770b
tree502c60472ec1923b93fe8c6b1987ded950754f58
parentdd32e11cdbc73e570f9fe7425fa820c97070a2c4
regulator: tps6507x: Remove num_voltages array

We can get n_voltages for each regulator from table_len of struct tps_info.

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/tps6507x-regulator.c