regulator: core: Allow drivers to set voltage mapping table in regulator_desc
authorAxel Lin <axel.lin@gmail.com>
Sun, 20 May 2012 02:30:21 +0000 (10:30 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 3 Jun 2012 12:19:45 +0000 (13:19 +0100)
commitcffc9592fde309deafce12362e0a285108cfa3c8
treebdd8ae2815fc8ac4aff7935eda79ee31bcb07cf8
parentf8f5701bdaf9134b1f90e5044a82c66324d2073f
regulator: core: Allow drivers to set voltage mapping table in regulator_desc

Some regulator hardware use table based mapping can set volt_table in
regulator_desc and use regulator_list_voltage_table() for their list_voltage
callback.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/core.c
include/linux/regulator/driver.h