]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: intel_pstate: Combine ->stop_cpu() and ->offline()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 30 Jun 2021 16:44:46 +0000 (18:44 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 30 Jun 2021 16:44:46 +0000 (18:44 +0200)
commitc8d14bc98e14a3be675b60881f43c6c894fb7220
treefa36a23248c876bc9ff1e025261f277cb2dd7817
parent66ab8b625654094ae1034835859b08a8b92f979b
cpufreq: intel_pstate: Combine ->stop_cpu() and ->offline()

Combine the ->stop_cpu() and ->offline() callback routines for
intel_pstate in the active mode so as to avoid setting the
->stop_cpu callback pointer which is going to be dropped from
the framework.

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