summaryrefslogtreecommitdiff
path: root/include/power
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-08-07 16:43:43 +0800
committerPrzemyslaw Marczak <p.marczak@samsung.com>2015-08-12 10:03:04 +0200
commit40ade2ce58ed57fe1bff20265b3e015710ff862e (patch)
tree8c9f2fcaaa050bd3ffa5509b3352374c5fd60ff1 /include/power
parentcf2600111dfc83e921e3ba40f3cb187163165828 (diff)
power: regulator: update comments for regulator-name
We do not need that "regulator-name" property must be provided in dts. If "regulator-name" property is not provided in dts, node name will chosen for settings '.name' field of uc_pdata. Signed-off-by: Peng Fan <Peng.Fan@freescale.com> Cc: Przemyslaw Marczak <p.marczak@samsung.com> Cc: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/power')
-rw-r--r--include/power/regulator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/power/regulator.h b/include/power/regulator.h
index 015229027c8..1a51c3f07bc 100644
--- a/include/power/regulator.h
+++ b/include/power/regulator.h
@@ -46,6 +46,7 @@
* Note: For the proper operation, at least name constraint is needed, since
* it can be used when calling regulator_get_by_platname(). And the mandatory
* rule for this name is, that it must be globally unique for the single dts.
+ * If regulator-name property is not provided, node name will be chosen.
*
* Regulator bind:
* For each regulator device, the device_bind() should be called with passed