summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/helpers.c
Commit message (Collapse)AuthorAgeFilesLines
* regulator: Remove max_uV from struct regulator_linear_rangeAxel Lin2013-10-111-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>
* regulator: core: Move list_voltage_{linear,linear_range,table} to helpers.cAxel Lin2013-08-091-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>
* regulator: core: Move helpers for drivers out into a separate fileMark Brown2013-08-071-0/+361
Reduce the size of core.c a bit. Signed-off-by: Mark Brown <broonie@linaro.org>
OpenPOWER on IntegriCloud