summaryrefslogtreecommitdiff
path: root/drivers/regulator/helpers.c
AgeCommit message (Collapse)AuthorFilesLines
2013-10-11regulator: Remove max_uV from struct regulator_linear_rangeAxel Lin1-1/+5
linear ranges means each range has linear voltage settings. So we can calculate max_uV for each linear range in regulator core rather than set the max_uV field in drivers. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>
2013-08-09regulator: core: Move list_voltage_{linear,linear_range,table} to helpers.cAxel Lin1-0/+86
Move regulator_list_voltage_{linear,linear_range,table} helper functions to helpers.c. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>
2013-08-07regulator: core: Move helpers for drivers out into a separate fileMark Brown1-0/+361
Reduce the size of core.c a bit. Signed-off-by: Mark Brown <broonie@linaro.org>