aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-08-08 20:17:18 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-08-28 11:00:27 -0700
commit89009e1888ad9a7f4491b8644884f5339773e643 (patch)
tree416043a5ceb168b4647656f78adae407ea1993c4
parentregulator: da9052: set_current_limit should select the maximum current in specific range (diff)
downloadlinux-dev-89009e1888ad9a7f4491b8644884f5339773e643.tar.xz
linux-dev-89009e1888ad9a7f4491b8644884f5339773e643.zip
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>
-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 {
* regulator_desc.n_voltages. Voltages may be reported in any order.
*
* @set_current_limit: Configure a limit for a current-limited regulator.
+ * The driver should select the current closest to max_uA.
* @get_current_limit: Get the configured limit for a current-limited regulator.
*
* @set_mode: Set the configured operating mode for the regulator.