cpufreq: Get rid of cpufreq_cpu_data_fallback
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 8 May 2015 06:23:46 +0000 (11:53 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 15 May 2015 00:35:57 +0000 (02:35 +0200)
commit3914d37910af2cd0cc992ae546b8308e05759d2b
tree24571d8fa41d0838b8cd0035ab707470ed3ffa6b
parent988bed09d35a8533eb59868692b827dfae7b66fe
cpufreq: Get rid of cpufreq_cpu_data_fallback

We can extract the same information from cpufreq_cpu_data as it is also
available for inactive policies now. And so don't need
cpufreq_cpu_data_fallback anymore.

Also add a WARN_ON() for the case where we try to restore from an active
policy.

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