regulator: pfuze100: Use of_get_child_by_name
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 14 Feb 2014 11:50:00 +0000 (17:20 +0530)
committerMark Brown <broonie@linaro.org>
Fri, 14 Feb 2014 21:20:06 +0000 (21:20 +0000)
commitd7857c429475677a6a42d0dce7f870d6241edd41
tree7fae46090f0ed8f9e508b61e139caab0be4bd654
parent38dbfb59d1175ef458d006556061adeaa8751b72
regulator: pfuze100: 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/pfuze100-regulator.c