From: Viresh Kumar Date: Fri, 31 May 2013 06:15:08 +0000 (+0000) Subject: cpufreq: remove unnecessary cpufreq_cpu_{get|put}() calls X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~19^2~7^2~1^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a262e94cdcb961762e5d91e7fcb857bba7d420a0;p=pandora-kernel.git 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 Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed