aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/regulator
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-08-08 08:17:18 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-08-28 14:00:27 -0400
commit89009e1888ad9a7f4491b8644884f5339773e643 (patch)
tree416043a5ceb168b4647656f78adae407ea1993c4 /include/linux/regulator
parent19d23c21a64d1312be48def8ac49180bd60fc76d (diff)
regulator: Update comment for set_current_limit callback of struct regulator_ops
The regulators should be tending to the maximum in the available range and consumers should specify the widest range possible. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/regulator')
-rw-r--r--include/linux/regulator/driver.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/regulator/driver.h b/include/linux/regulator/driver.h
index bac4c871f3bd..c10012f0af15 100644
--- a/include/linux/regulator/driver.h
+++ b/include/linux/regulator/driver.h
@@ -58,6 +58,7 @@ enum regulator_status {
58 * regulator_desc.n_voltages. Voltages may be reported in any order. 58 * regulator_desc.n_voltages. Voltages may be reported in any order.
59 * 59 *
60 * @set_current_limit: Configure a limit for a current-limited regulator. 60 * @set_current_limit: Configure a limit for a current-limited regulator.
61 * The driver should select the current closest to max_uA.
61 * @get_current_limit: Get the configured limit for a current-limited regulator. 62 * @get_current_limit: Get the configured limit for a current-limited regulator.
62 * 63 *
63 * @set_mode: Set the configured operating mode for the regulator. 64 * @set_mode: Set the configured operating mode for the regulator.