summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/cpufreq.c
diff options
context:
space:
mode:
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2013-04-10 00:38:18 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-04-10 13:42:45 +0200
commitd1b6848590af407c5d2354929ac683052d631830 (patch)
tree482ffe294513d0c6856a419f1f7cba786ea79c34 /drivers/cpufreq/cpufreq.c
parentcpufreq: OMAP: instantiate omap-cpufreq as a platform_driver (diff)
downloadlinux-d1b6848590af407c5d2354929ac683052d631830.tar.xz
linux-d1b6848590af407c5d2354929ac683052d631830.zip
cpufreq / intel_pstate: Optimize intel_pstate_set_policy
This function is called quite often from other subsystems. Removed unused call to intel_pstate_get_min_max(). Also when "policy->policy == CPUFREQ_POLICY_PERFORMANCE", then no need to do calculations as the limits will be forced anyway. Also corrected filename in the header. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions