|
@@ -1683,13 +1683,6 @@ static int intel_pstate_init_cpu(unsigned int cpunum)
|
|
return 0;
|
|
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)
|
|
static void intel_pstate_set_update_util_hook(unsigned int cpu_num)
|
|
{
|
|
{
|
|
struct cpudata *cpu = all_cpu_data[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,
|
|
.setpolicy = intel_pstate_set_policy,
|
|
.suspend = intel_pstate_hwp_save_state,
|
|
.suspend = intel_pstate_hwp_save_state,
|
|
.resume = intel_pstate_resume,
|
|
.resume = intel_pstate_resume,
|
|
- .get = intel_pstate_get,
|
|
|
|
.init = intel_pstate_cpu_init,
|
|
.init = intel_pstate_cpu_init,
|
|
.exit = intel_pstate_cpu_exit,
|
|
.exit = intel_pstate_cpu_exit,
|
|
.stop_cpu = intel_pstate_stop_cpu,
|
|
.stop_cpu = intel_pstate_stop_cpu,
|