diff options
| author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-07-31 16:31:33 +0400 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-08-08 01:02:49 +0400 |
| commit | e8fdde1011ea45792e60f14f620b01f78cb0d34d (patch) | |
| tree | 15288e7bada0645c59b8e1a72bd33fd908bfca7f /tools/perf/scripts/python/bin | |
| parent | 5302c3fb2e62f4ca5e43e060491ba299f58c5231 (diff) | |
| download | linux-e8fdde1011ea45792e60f14f620b01f78cb0d34d.tar.xz | |
cpufreq: Remove extra variables from cpufreq_add_dev_symlink()
We call cpufreq_cpu_get() in cpufreq_add_dev_symlink() to increase usage
refcount of policy, but not to get a policy for the given CPU. So, we
don't really need to capture the return value of this routine. We can
simply use policy passed as an argument to cpufreq_add_dev_symlink().
Moreover debug print is rewritten to make it more clear.
[rjw: Changelog]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
