regulator: max77693: Use of_get_child_by_name
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 14 Feb 2014 11:49:48 +0000 (17:19 +0530)
committerMark Brown <broonie@linaro.org>
Fri, 14 Feb 2014 21:08:31 +0000 (21:08 +0000)
commit4fa43a4a6f8d1b7a8f32e7ba654f36ef86ab1e56
treede4dcc79b2d3398f7e5a7334f806000c3393a003
parent38dbfb59d1175ef458d006556061adeaa8751b72
regulator: max77693: 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/max77693.c