cpufreq: Implement cpufreq_generic_suspend()
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 4 Mar 2014 03:00:27 +0000 (11:00 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 6 Mar 2014 14:04:12 +0000 (15:04 +0100)
commite28867eab7c0a60cddf0cb59f9f6cbbd9561425d
tree1391897d0eefb9464ec762538f8f7307079192f1
parent2f0aea9363609433b38ab13f0f86f38372668c68
cpufreq: Implement cpufreq_generic_suspend()

Multiple platforms need to set CPUs to a particular frequency before
suspending the system, so provide a common infrastructure for them.

Those platforms only need to point their ->suspend callback pointers
to the generic routine.

Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
[rjw: Changelog]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c
include/linux/cpufreq.h