summaryrefslogtreecommitdiff
path: root/Documentation/power
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@sonymobile.com>2015-02-12 06:35:27 +0300
committerMark Brown <broonie@kernel.org>2015-03-09 21:32:25 +0300
commite39ce48f5362df9f87400b4909a6fb0f51b109ac (patch)
tree77e7ee654c85a19cf22cc44e6cfeb199ec2bce20 /Documentation/power
parentc517d838eb7d07bbe9507871fab3931deccff539 (diff)
downloadlinux-e39ce48f5362df9f87400b4909a6fb0f51b109ac.tar.xz
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/power')
-rw-r--r--Documentation/power/regulator/consumer.txt2
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)