diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-11-09 11:48:11 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-11-09 11:48:11 +0100 |
commit | 220989d37c47ada2554905e388afbd88a7cbe8fb (patch) | |
tree | 42d4ff3dbac2ef20788dc1d7b82b881955f5d977 /include/linux/cpufreq.h | |
parent | 23a881852f3eff6a7ba8d240b57de076763fdef9 (diff) | |
parent | 56a7ff75cd08987812209971e319f78156ea2bb1 (diff) | |
download | linux-220989d37c47ada2554905e388afbd88a7cbe8fb.tar.gz linux-220989d37c47ada2554905e388afbd88a7cbe8fb.tar.bz2 linux-220989d37c47ada2554905e388afbd88a7cbe8fb.zip |
Merge back cpufreq updates for v5.11.
Diffstat (limited to 'include/linux/cpufreq.h')
-rw-r--r-- | include/linux/cpufreq.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index 1eaa04f1bae6..9779a6cd8baa 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 */ @@ -308,10 +307,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 */ |