cpufreq: pmac32-cpufreq: remove device tree parsing for cpu nodes
authorSudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Wed, 17 Jul 2013 12:52:17 +0000 (13:52 +0100)
committerSudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Wed, 21 Aug 2013 09:29:56 +0000 (10:29 +0100)
commit1037b2752345cc5666e90b711a913ab2ae6c5920
tree1cb327c88818a84c6fb8c3c4c9f4424f2d427199
parent760287ab90a3ca93a2f87f7e7137e06e89a26b01
cpufreq: pmac32-cpufreq: remove device tree parsing for cpu nodes

Now that the cpu device registration initialises the of_node(if available)
appropriately for all the cpus, parsing here is redundant.

This patch removes DT parsing and uses cpu->of_node instead.

Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Sudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
drivers/cpufreq/pmac32-cpufreq.c