]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
regulator: Update comment for set_current_limit callback of struct regulator_ops
authorAxel Lin <axel.lin@gmail.com>
Wed, 8 Aug 2012 12:17:18 +0000 (20:17 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 28 Aug 2012 18:00:27 +0000 (11:00 -0700)
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>
include/linux/regulator/driver.h

index bac4c871f3bd1930b481c214e932cec9666e05b6..c10012f0af15d1277249157ac60afa2f6503e745 100644 (file)
@@ -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.