From: Haojian Zhuang Date: Mon, 20 Sep 2010 00:09:10 +0000 (-0400) Subject: ARM: pxa: reduce the scope of get_clk_frequency_khz() X-Git-Tag: v2.6.37-rc1~184^2~5^2~3^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecf89b8a9189462480086f72791eb41f8aa09bfd;p=pandora-kernel.git ARM: pxa: reduce the scope of get_clk_frequency_khz() get_clk_frequency_khz() is used in private cpufreq driver. In order to meet the change of different pxa silicons, checking cpuid is introduced in get_clk_frequency_khz(). While more pxa silicons are supported, the workload of checking cpuid is higher. So restrict the scope of get_clk_frequency_khz() on pxa2xx. Different pxa silcions use different private cpufreq driver to avoid too much checking on cpuid. Signed-off-by: Haojian Zhuang Cc: Eric Miao Signed-off-by: Eric Miao --- Reading git-diff-tree failed