From d1b6848590af407c5d2354929ac683052d631830 Mon Sep 17 00:00:00 2001 From: Srinivas Pandruvada Date: Tue, 9 Apr 2013 22:38:18 +0000 Subject: [PATCH] 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-format-patch failed