diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2012-10-24 23:39:48 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2012-11-15 00:33:07 +0100 |
commit | 0676f7f2e7d2adec11f40320ca43a8897b8ef906 (patch) | |
tree | ac9237b4557865cf921e84d94f7c063161d103b0 /drivers/cpufreq/cpufreq_governor.h | |
parent | 8636fd280e970696be62c8495a5aacb5f3b6237d (diff) |
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_governor.h')
0 files changed, 0 insertions, 0 deletions