diff options
author | 2016-02-07 16:23:49 +0100 | |
---|---|---|
committer | 2016-03-09 14:40:56 +0100 | |
commit | e9751894000af398d5895b3ee96052f57b80cc44 (patch) | |
tree | 26101d4c1f300b91122edf3eae6c0e17a6be8877 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cpufreq: governor: Drop cpu argument from dbs_check_cpu() (diff) | |
download | wireguard-linux-e9751894000af398d5895b3ee96052f57b80cc44.tar.xz wireguard-linux-e9751894000af398d5895b3ee96052f57b80cc44.zip |
cpufreq: governor: Simplify cpufreq_governor_limits()
Use the observation that cpufreq_governor_limits() doesn't have to
get to the policy object it wants to manipulate by walking the
reference chain cdbs->policy_dbs->policy, as the final pointer is
actually equal to its argument, and make it access the policy
object directy via its argument.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions