regulator: tps65217: Use of_get_child_by_name
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 14 Feb 2014 11:50:02 +0000 (17:20 +0530)
committerMark Brown <broonie@linaro.org>
Fri, 14 Feb 2014 21:21:54 +0000 (21:21 +0000)
commit93195c33ebe0dd2da1cb0d0cccba2dc50296ae01
treec513e1fa2b4a7ed39a36b3ccf58a48e8464ce2c1
parent38dbfb59d1175ef458d006556061adeaa8751b72
regulator: tps65217: Use of_get_child_by_name

of_find_node_by_name walks the allnodes list, and can thus walk
outside of the parent node. Use of_get_child_by_name instead.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/tps65217-regulator.c