diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-05-31 06:15:08 +0000 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-06-04 14:26:27 +0200 |
commit | a262e94cdcb961762e5d91e7fcb857bba7d420a0 (patch) | |
tree | c72b98652841617dae7a103ca2478227efa6d90e /drivers/cpufreq/Kconfig.powerpc | |
parent | 27209d913e5127a1e7ef6655319a406833462d0c (diff) | |
download | lwn-a262e94cdcb961762e5d91e7fcb857bba7d420a0.tar.gz lwn-a262e94cdcb961762e5d91e7fcb857bba7d420a0.zip |
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>
Diffstat (limited to 'drivers/cpufreq/Kconfig.powerpc')
0 files changed, 0 insertions, 0 deletions