cpufreq: spear-cpufreq: remove device tree parsing for cpu nodes
authorSudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Mon, 17 Jun 2013 14:09:15 +0000 (15:09 +0100)
committerSudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Wed, 21 Aug 2013 09:29:54 +0000 (10:29 +0100)
commitc0e469487d2327e644e8d86e091c0d4e4351a1a1
treecaf188af797cfd87d4594f33f3be047785096f6e
parent5de6e94a298576c2774ba43c0c3b0a0410cd100e
cpufreq: spear-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: Deepak Sikri <sikrid@qti.qualcomm.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Sudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
drivers/cpufreq/spear-cpufreq.c