diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-02-20 00:24:25 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-02-20 10:18:37 +0100 |
commit | 348a2ec5f5a5af15509252dfc6a30fa190ac0203 (patch) | |
tree | 7358c08bb8a4be1525335f165734baacbf917995 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | a0dbb819b84f87b3cb35083e264e9e584630e1f7 (diff) |
cpufreq: Reorder and simplify cpufreq_update_policy()
In cpufreq_update_policy(), instead of updating new_policy.cur
separately, which is kind of confusing, because cpufreq_set_policy()
doesn't take that value into account directly anyway, make the copy
of the existing policy after calling cpufreq_update_current_freq().
No intentional changes of behavior.
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-sqlite.py')
0 files changed, 0 insertions, 0 deletions