aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/regulator/core.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index b85e4a9dafcf..d55a25a6fab2 100644
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -925,9 +925,12 @@ overflow_err:
925 * @id: Supply name or regulator ID. 925 * @id: Supply name or regulator ID.
926 * 926 *
927 * Returns a struct regulator corresponding to the regulator producer, 927 * Returns a struct regulator corresponding to the regulator producer,
928 * or IS_ERR() condition containing errno. Use of supply names 928 * or IS_ERR() condition containing errno.
929 * configured via regulator_set_device_supply() is strongly 929 *
930 * encouraged. 930 * Use of supply names configured via regulator_set_device_supply() is
931 * strongly encouraged. It is recommended that the supply name used
932 * should match the name used for the supply and/or the relevant
933 * device pins in the datasheet.
931 */ 934 */
932struct regulator *regulator_get(struct device *dev, const char *id) 935struct regulator *regulator_get(struct device *dev, const char *id)
933{ 936{