summaryrefslogtreecommitdiff
path: root/drivers/cpufreq
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-08-04 15:28:58 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-08-04 15:28:58 +0300
commit3714c281c679e3fd34944e6321ccc814d76c6c62 (patch)
tree6435222b13a0d667194bd0c64d849fbe835d6a7a /drivers/cpufreq
parent7bde2d50014d3c5110b1db9a8e2659b6fa5f6b4a (diff)
parent22baebd489c78cf7d02030bf50b0c99e4fcb6748 (diff)
downloadlinux-3714c281c679e3fd34944e6321ccc814d76c6c62.tar.xz
Merge v4.13 intel_pstate fixes.
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r--drivers/cpufreq/intel_pstate.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c
index 532e261b2cab..942cd6888b54 100644
--- a/drivers/cpufreq/intel_pstate.c
+++ b/drivers/cpufreq/intel_pstate.c
@@ -1683,13 +1683,6 @@ static int intel_pstate_init_cpu(unsigned int cpunum)
return 0;
}
-static unsigned int intel_pstate_get(unsigned int cpu_num)
-{
- struct cpudata *cpu = all_cpu_data[cpu_num];
-
- return cpu ? get_avg_frequency(cpu) : 0;
-}
-
static void intel_pstate_set_update_util_hook(unsigned int cpu_num)
{
struct cpudata *cpu = all_cpu_data[cpu_num];
@@ -1930,7 +1923,6 @@ static struct cpufreq_driver intel_pstate = {
.setpolicy = intel_pstate_set_policy,
.suspend = intel_pstate_hwp_save_state,
.resume = intel_pstate_resume,
- .get = intel_pstate_get,
.init = intel_pstate_cpu_init,
.exit = intel_pstate_cpu_exit,
.stop_cpu = intel_pstate_stop_cpu,