cpufreq: pmac64-cpufreq: remove device tree parsing for cpu nodes
authorSudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Wed, 17 Jul 2013 12:42:56 +0000 (13:42 +0100)
committerSudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Wed, 21 Aug 2013 09:29:56 +0000 (10:29 +0100)
commit760287ab90a3ca93a2f87f7e7137e06e89a26b01
tree21f5463a71dbb07157cfd800232e0a8887d5a604
parent2421d4c34d492efd8b116ce62ae5612b5b9864b2
cpufreq: pmac64-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 all 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/pmac64-cpufreq.c