]> git.sur5r.net Git - u-boot/commit
power: regulator use node name when no regulator-name
authorPeng Fan <Peng.Fan@freescale.com>
Fri, 7 Aug 2015 08:43:42 +0000 (16:43 +0800)
committerPrzemyslaw Marczak <p.marczak@samsung.com>
Wed, 12 Aug 2015 08:02:59 +0000 (10:02 +0200)
commitcf2600111dfc83e921e3ba40f3cb187163165828
tree2f9d7a1f68d653b2d3d724507243ce9b82c806a4
parent430abe1cd721aacc6a715f5e8b9192ea6bee96fc
power: regulator use node name when no regulator-name

If there is no property named 'regulator-name' for regulators,
choose node name instead, but not directly return failure value.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Cc: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Simon Glass <sjg@chromium.org>
drivers/power/regulator/regulator-uclass.c