Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Cc: Eric Miao <[email protected]> Signed-off-by: Eric Miao <[email protected]>
- Loading branch information