From 40ade2ce58ed57fe1bff20265b3e015710ff862e Mon Sep 17 00:00:00 2001 From: Peng Fan Date: Fri, 7 Aug 2015 16:43:43 +0800 Subject: 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 Cc: Przemyslaw Marczak Cc: Simon Glass --- include/power/regulator.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/power') 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 -- cgit v1.2.3