]> git.karo-electronics.de Git - linux-beck.git/commit
regulator: max8660: Use of_get_child_by_name
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 14 Feb 2014 11:49:49 +0000 (17:19 +0530)
committerMark Brown <broonie@linaro.org>
Fri, 14 Feb 2014 21:09:32 +0000 (21:09 +0000)
commit826adb490098a3c86e8f7e52906f58a0b628d515
tree44d1ac3b5ffc683bd08304ae646baf21d3c20258
parent38dbfb59d1175ef458d006556061adeaa8751b72
regulator: max8660: 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/max8660.c