cpufreq: stats: Refactor common code into __cpufreq_stats_create_table()
authorSaravana Kannan <skannan@codeaurora.org>
Fri, 28 Feb 2014 01:58:36 +0000 (17:58 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 1 Mar 2014 23:55:50 +0000 (00:55 +0100)
commitad4c2302c20a6906eb2f10defdb0e982bab5eb0b
treea48dfcd0e1689af3de66ac846b9e1259fb082ec0
parent0b7528d963e7dda51dd07fa7b1f14a9bf03b1cee
cpufreq: stats: Refactor common code into __cpufreq_stats_create_table()

cpufreq_frequency_get_table() is called from all callers of
__cpufreq_stats_create_table(). So, move it inside.

Suggested-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Saravana Kannan <skannan@codeaurora.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq_stats.c