summaryrefslogtreecommitdiff
path: root/drivers/regulator/wm831x-ldo.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-05-09 21:38:33 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-05-12 11:11:32 +0100
commitbca7bbfff37808d56355bbcf0ceec34f0cc6c85d (patch)
tree2ad595ab595a404b8082b01696fc152de95a10b2 /drivers/regulator/wm831x-ldo.c
parente843fc4616485bbd8b5a115f5bd4f73808656373 (diff)
regulator: core: Allow drivers to set simple linear voltage maps as data
A lot of regulator hardware maps selectors on to voltages with a simple linear mapping function selector = base + (selector * step size) Provide off the shelf list_voltage() and map_voltage() operations which use new min_uV and uV_step members in the regulator_desc to implement this function. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'drivers/regulator/wm831x-ldo.c')
0 files changed, 0 insertions, 0 deletions