On Tuesday, January 07, 2014 07:24:32 AM Viresh Kumar wrote:
CPUFreq drivers that use clock frameworks interface,i.e. clk_get_rate(), to get CPUs clk rate, has similar sort of code used for most of them.
This patch adds a generic ->get() which will do the same thing for them. All those drivers are required to now is to set .get to cpufreq_generic_get() and set their clk pointer in policy->clk during ->init().
Acked-by: Hans-Christian Egtvedt egtvedt@samfundet.no Acked-by: Shawn Guo shawn.guo@linaro.org Acked-by: Linus Walleij linus.walleij@linaro.org Acked-by: Shawn Guo shawn.guo@linaro.org Acked-by: Stephen Warren swarren@nvidia.com Signed-off-by: Viresh Kumar viresh.kumar@linaro.org
Rafael,
V2->V3: As asked by you earlier, I have merged all 23 patches here as they had common log and were touching separate drivers. This is already acked by many people. Please see if looks okay for 3.14.
Applied to bleeding-edge, thanks!