diff options
author | 2013-09-01 12:24:17 +0800 | |
---|---|---|
committer | 2013-09-17 00:28:44 +0100 | |
commit | cee8e355942c01f408bddf8a53596be1dff7a86b (patch) | |
tree | c79ffdbb55100116c7efd41e0daed91e54fa299e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | regulator: palmas: Drop regulator_unregister while using devm_regulator_register (diff) | |
download | linux-dev-cee8e355942c01f408bddf8a53596be1dff7a86b.tar.xz linux-dev-cee8e355942c01f408bddf8a53596be1dff7a86b.zip |
regulator: core: Refactor devm_regulator_get* APIs
The implementation of devm_regulator_get, devm_regulator_get_exclusive and
devm_regulator_get_optional are almost the same.
Introduce _devm_regulator_get helper function and refactor the code.
Also move devm_regulator_get_exclusive to proper place, put it after
regulator_get_exclusive() function.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions