summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-11-16 13:20:31 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-11-16 13:20:31 +0100
commitef7ece9a9b1fde9cf6a455981a0f39e342ee0f8c (patch)
treea76304c6e673da11845006541b09566ef1cee518 /include
parentcpufreq: intel_pstate: Take CPUFREQ_GOV_STRICT_TARGET into account (diff)
parentMerge back cpufreq updates for v5.11. (diff)
downloadlinux-ef7ece9a9b1fde9cf6a455981a0f39e342ee0f8c.tar.xz
linux-ef7ece9a9b1fde9cf6a455981a0f39e342ee0f8c.zip
Merge back cpufreq updates for v5.11.
Diffstat (limited to 'include')
-rw-r--r--include/linux/cpufreq.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h
index acbad3b36322..584fccd4fcab 100644
--- a/include/linux/cpufreq.h
+++ b/include/linux/cpufreq.h
@@ -65,7 +65,6 @@ struct cpufreq_policy {
unsigned int max; /* in kHz */
unsigned int cur; /* in kHz, only needed if cpufreq
* governors are used */
- unsigned int restore_freq; /* = policy->cur before transition */
unsigned int suspend_freq; /* freq to set during suspend */
unsigned int policy; /* see above */
@@ -314,10 +313,6 @@ struct cpufreq_driver {
/* define one out of two */
int (*setpolicy)(struct cpufreq_policy *policy);
- /*
- * On failure, should always restore frequency to policy->restore_freq
- * (i.e. old freq).
- */
int (*target)(struct cpufreq_policy *policy,
unsigned int target_freq,
unsigned int relation); /* Deprecated */