diff options
author | Bjorn Andersson <bjorn.andersson@sonymobile.com> | 2015-02-11 19:35:27 -0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-03-09 18:32:25 +0000 |
commit | e39ce48f5362df9f87400b4909a6fb0f51b109ac (patch) | |
tree | 77e7ee654c85a19cf22cc44e6cfeb199ec2bce20 /Documentation | |
parent | c517d838eb7d07bbe9507871fab3931deccff539 (diff) |
regulator: Rename regulator_set_optimum_mode
Rename the regulator_set_optimum_mode() function regulator_set_load() to
better represent what's going on.
Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/power/regulator/consumer.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/power/regulator/consumer.txt b/Documentation/power/regulator/consumer.txt index 8afb236ca765..e51564c1a140 100644 --- a/Documentation/power/regulator/consumer.txt +++ b/Documentation/power/regulator/consumer.txt @@ -137,7 +137,7 @@ Indirect operating mode control. Consumer drivers can request a change in their supply regulator operating mode by calling :- -int regulator_set_optimum_mode(struct regulator *regulator, int load_uA); +int regulator_set_load(struct regulator *regulator, int load_uA); This will cause the core to recalculate the total load on the regulator (based on all its consumers) and change operating mode (if necessary and permitted) |