cpufreq: intel_pstate: Eliminate intel_pstate_get_base_pstate()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 15 Feb 2019 12:16:40 +0000 (13:16 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 18 Feb 2019 10:34:32 +0000 (11:34 +0100)
commita8e1942d97dcc44d1425807c71a4252f9e3b53b6
treeb3352a178672f604e7c3fa8befe68e069c739ce3
parentfa93b51c55099660c2583ec918ef27df18fc511a
cpufreq: intel_pstate: Eliminate intel_pstate_get_base_pstate()

There is only one caller of intel_pstate_get_base_pstate() and it is
more straightforward to carry out the computation directly in the
caller, so do that and drop intel_pstate_get_base_pstate().

No intentional changes of behavior.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c