clk: mvebu: use for_each_of_cpu_node iterator
authorRob Herring <robh@kernel.org>
Mon, 27 Aug 2018 14:45:53 +0000 (09:45 -0500)
committerRob Herring <robh@kernel.org>
Fri, 28 Sep 2018 19:25:58 +0000 (14:25 -0500)
commit76ec23b127cd4ffeadc6fbc70d94a0c3df710405
tree8cce2d2228964e632e819cdc375b6613c6265beb
parent7de8f4aa2f35583eea8efc7d7c2cc35d13964d97
clk: mvebu: use for_each_of_cpu_node iterator

Use the for_each_of_cpu_node iterator to iterate over cpu nodes. This
has the side effect of defaulting to iterating using "cpu" node names in
preference to the deprecated (for FDT) device_type == "cpu".

Cc: Michael Turquette <mturquette@baylibre.com>
Cc: linux-clk@vger.kernel.org
Acked-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/clk/mvebu/clk-cpu.c