diff options
Diffstat (limited to 'drivers/cpufreq/intel_pstate.c')
-rw-r--r-- | drivers/cpufreq/intel_pstate.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c index 9733f29ed148..a02bd77cbfe8 100644 --- a/drivers/cpufreq/intel_pstate.c +++ b/drivers/cpufreq/intel_pstate.c | |||
@@ -611,9 +611,7 @@ static int intel_pstate_set_policy(struct cpufreq_policy *policy) | |||
611 | 611 | ||
612 | static int intel_pstate_verify_policy(struct cpufreq_policy *policy) | 612 | static int intel_pstate_verify_policy(struct cpufreq_policy *policy) |
613 | { | 613 | { |
614 | cpufreq_verify_within_limits(policy, | 614 | cpufreq_verify_within_cpu_limits(policy); |
615 | policy->cpuinfo.min_freq, | ||
616 | policy->cpuinfo.max_freq); | ||
617 | 615 | ||
618 | if ((policy->policy != CPUFREQ_POLICY_POWERSAVE) && | 616 | if ((policy->policy != CPUFREQ_POLICY_POWERSAVE) && |
619 | (policy->policy != CPUFREQ_POLICY_PERFORMANCE)) | 617 | (policy->policy != CPUFREQ_POLICY_PERFORMANCE)) |