cpufreq: Move traces and update to policy->cur to cpufreq core
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 5 Oct 2020 07:56:05 +0000 (13:26 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 5 Oct 2020 13:13:43 +0000 (15:13 +0200)
commit08d8c65e849d7579bafe2b03eab844d7860e3682
tree5acb93d196c5a0df8cf0c59887d73e876947379e
parent96f60cddf7a1c5374296dd14355b519ee3245b3e
cpufreq: Move traces and update to policy->cur to cpufreq core

The cpufreq core handles the updates to policy->cur and recording of
cpufreq trace events for all the governors except schedutil's fast
switch case.

Move that as well to cpufreq core for consistency and readability.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c
kernel/sched/cpufreq_schedutil.c