]> git.baikalelectronics.ru Git - kernel.git/commit
clk: s2mps11: Use of_get_child_by_name
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 21 Mar 2014 12:39:20 +0000 (13:39 +0100)
committerMike Turquette <mturquette@linaro.org>
Mon, 24 Mar 2014 22:11:27 +0000 (15:11 -0700)
commit803ecfb9e7b00e9183b8d276643c7cfcb077f150
tree28f4116cc1c0226b45a2cbe8d2d65da127f14db2
parent5e2e79a1f7067ab6e9e483247f6cfdb5e9b2340d
clk: s2mps11: Use of_get_child_by_name

of_find_node_by_name() walks over all nodes and can thus walk outside of
the parent node. Use of_get_child_by_name() instead.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk-s2mps11.c