From: Srinivas Pandruvada Date: Tue, 9 Apr 2013 22:38:18 +0000 (+0000) Subject: cpufreq / intel_pstate: Optimize intel_pstate_set_policy X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~92^2~1^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1b6848590af407c5d2354929ac683052d631830;p=pandora-kernel.git 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 Acked-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed