sh: cpufreq: struct device lookup from CPU topology.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 27 Jan 2012 10:44:49 +0000 (19:44 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 27 Jan 2012 10:44:49 +0000 (19:44 +0900)
commitecbef17adbbbe89eb6b3e4d4e5b756d63041319c
tree85b644cc988fa9afaa068154ef57313f234a5d7e
parent3bccf467727c82421e5f7b630c9bb864ebe8d2e6
sh: cpufreq: struct device lookup from CPU topology.

The struct device pointer associated with the CPU we're on can be fetched
via the topology information. Tie this in to localize the CPU clock
lookup. While we're at it, tidy up some of the debug/info printing
notices too.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpufreq.c