commit | 1f4f88c0aef7e52bb3ae067ae802b64fc8312188 | [log] [tgz] |
---|---|---|
author | Sachin Kamat <sachin.kamat@linaro.org> | Fri Feb 14 17:19:51 2014 +0530 |
committer | Mark Brown <broonie@linaro.org> | Fri Feb 14 21:10:50 2014 +0000 |
tree | 116e0db8ffc7934066d96b9af477fca5ec9990da | |
parent | 38dbfb59d1175ef458d006556061adeaa8751b72 [diff] |
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>