| commit | a262e94cdcb961762e5d91e7fcb857bba7d420a0 | [log] [tgz] |
|---|---|---|
| author | Viresh Kumar <viresh.kumar@linaro.org> | Fri May 31 06:15:08 2013 +0000 |
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Tue Jun 04 14:26:27 2013 +0200 |
| tree | c72b98652841617dae7a103ca2478227efa6d90e | |
| parent | 27209d913e5127a1e7ef6655319a406833462d0c [diff] |
cpufreq: remove unnecessary cpufreq_cpu_{get|put}() calls
struct cpufreq_policy is already passed as argument to some routines
like: __cpufreq_driver_getavg() and so we don't really need to do
cpufreq_cpu_get() before and cpufreq_cpu_put() in them to get a
policy structure.
Remove them.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>