diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-12-11 19:52:52 +0100 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-12-11 19:52:52 +0100 |
| commit | 42807537b6a08b280612c1d456f33d876af74af3 (patch) | |
| tree | ba177e298d03687e73fbee69cb9da213bcc92825 /include/linux | |
| parent | 05b8955f43536c3e1e73edc39639aac9ae32edd8 (diff) | |
| parent | bb025fb6c276ac874b718b9d884b7ee1099b2c22 (diff) | |
Merge back cpufreq material for v5.11.
Diffstat (limited to 'include/linux')
| -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 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 */ |
