diff options
| author | 2019-02-20 00:24:25 +0100 | |
|---|---|---|
| committer | 2019-02-20 10:18:37 +0100 | |
| commit | 348a2ec5f5a5af15509252dfc6a30fa190ac0203 (patch) | |
| tree | 7358c08bb8a4be1525335f165734baacbf917995 /tools/testing/selftests/exec/git:/ssh:/git@git.zx2c4.com | |
| parent | cpufreq: Add kerneldoc comments for two core functions (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/testing/selftests/exec/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
