commit | e0b3165ba521c6824b3e9f563f38a701dfa2d8e6 | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Mon Mar 10 14:53:33 2014 +0530 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Wed Mar 12 01:06:00 2014 +0100 |
tree | c933f6ecc241a38c2e56f1b166c8c66d1635540c | |
parent | e837f9b58b83a705c9c14b26c3ee29fd9870322e [diff] |
cpufreq: add 'freq_table' in struct cpufreq_policy freq table is not per CPU but per policy, so it makes more sense to keep it within struct cpufreq_policy instead of a per-cpu variable. This patch does it. Over that, there is no need to set policy->freq_table to NULL in ->exit(), as policy structure is going to be freed soon. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>