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)
commit49d6feef94c9f47ac4030563058f8a36267597b0
treefa36a23248c876bc9ff1e025261f277cb2dd7817
parent3563f55ce65462063543dfa6a8d8c7fbfb9d7772
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