summaryrefslogtreecommitdiffstats
path: root/drivers/ps3
diff options
context:
space:
mode:
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2013-04-09 22:38:18 +0000
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-04-10 13:42:45 +0200
commitd1b6848590af407c5d2354929ac683052d631830 (patch)
tree482ffe294513d0c6856a419f1f7cba786ea79c34 /drivers/ps3
parent49ded525d4486dc97fc965858bf3ddf245463670 (diff)
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 'drivers/ps3')
0 files changed, 0 insertions, 0 deletions