Re: [PATCH] regulator: of_get_regulation_constraints: Use node name as fallback

2013-09-23 Thread Mark Brown
On Mon, Sep 23, 2013 at 10:28:27PM +0200, Lars-Peter Clausen wrote: > On 09/23/2013 12:15 PM, Mark Brown wrote: > >On Sun, Sep 22, 2013 at 12:47:34PM +0200, Lars-Peter Clausen wrote: > >>If the "regulator-name" property is not present use the name of the > >>devicetree > >>node as a fallback. > >

Re: [PATCH] regulator: of_get_regulation_constraints: Use node name as fallback

2013-09-23 Thread Lars-Peter Clausen
On 09/23/2013 12:15 PM, Mark Brown wrote: On Sun, Sep 22, 2013 at 12:47:34PM +0200, Lars-Peter Clausen wrote: If the "regulator-name" property is not present use the name of the devicetree node as a fallback. You're not supposed to use the node name for anything, the goal is that it's entirely

Re: [PATCH] regulator: of_get_regulation_constraints: Use node name as fallback

2013-09-23 Thread Mark Brown
On Sun, Sep 22, 2013 at 12:47:34PM +0200, Lars-Peter Clausen wrote: > If the "regulator-name" property is not present use the name of the devicetree > node as a fallback. You're not supposed to use the node name for anything, the goal is that it's entirely ornamental noise. Which is a bit annoyin

[PATCH] regulator: of_get_regulation_constraints: Use node name as fallback

2013-09-22 Thread Lars-Peter Clausen
If the "regulator-name" property is not present use the name of the devicetree node as a fallback. Signed-off-by: Lars-Peter Clausen --- drivers/regulator/of_regulator.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/regulator/of_regulator.c b/drivers/regulator/of_regulator.c i