regulator: max8925: Use of_get_child_by_name
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 14 Feb 2014 11:49:51 +0000 (17:19 +0530)
committerMark Brown <broonie@linaro.org>
Fri, 14 Feb 2014 21:10:50 +0000 (21:10 +0000)
commit1f4f88c0aef7e52bb3ae067ae802b64fc8312188
tree116e0db8ffc7934066d96b9af477fca5ec9990da
parent38dbfb59d1175ef458d006556061adeaa8751b72
regulator: max8925: 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/max8925-regulator.c
This page took 0.024545 seconds and 5 git commands to generate.