commit | 14256f734ecce8dfb8fdce0e138d18f3fadf882e | [log] [tgz] |
---|---|---|
author | Sachin Kamat <sachin.kamat@linaro.org> | Tue Mar 04 11:16:57 2014 +0530 |
committer | Mark Brown <broonie@linaro.org> | Wed Mar 19 13:11:07 2014 +0000 |
tree | 3ab4e750c9750c5d8fbda7538e7931c6f3119880 | |
parent | 8d7c7726cea29bd5a7dd6e898b1693c12237144b [diff] |
regulator: s2mps11: 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>