summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/cpufreq_ondemand.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2012-10-24 23:39:48 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2012-11-15 00:33:07 +0100
commit0676f7f2e7d2adec11f40320ca43a8897b8ef906 (patch)
treeac9237b4557865cf921e84d94f7c063161d103b0 /drivers/cpufreq/cpufreq_ondemand.c
parentcpufreq: fix jiffies/cputime mixup in conservative/ondemand governors (diff)
downloadlinux-0676f7f2e7d2adec11f40320ca43a8897b8ef906.tar.xz
linux-0676f7f2e7d2adec11f40320ca43a8897b8ef906.zip
cpufreq: return early from __cpufreq_driver_getavg()
There is no need to do cpufreq_get_cpu() and cpufreq_put_cpu() for drivers that don't support getavg() routine. 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/cpufreq_ondemand.c')
0 files changed, 0 insertions, 0 deletions