diff options
author | 2013-08-04 01:20:07 +0200 | |
---|---|---|
committer | 2013-08-07 23:02:50 +0200 | |
commit | d8d3b4711297e101bbad826474013edbe342c333 (patch) | |
tree | af0786e2884a0d31b9c0506ed8d01ee1ccc44414 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cpufreq: Avoid double kobject_put() for the same kobject in error code path (diff) | |
download | linux-dev-d8d3b4711297e101bbad826474013edbe342c333.tar.xz linux-dev-d8d3b4711297e101bbad826474013edbe342c333.zip |
cpufreq: Pass policy to cpufreq_add_policy_cpu()
The caller of cpufreq_add_policy_cpu() already has a pointer to the
policy structure and there is no need to look it up again in
cpufreq_add_policy_cpu(). Let's pass it directly.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions