cpufreq: intel_pstate: Drop ->update_util from pstate_funcs
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 24 Jul 2017 22:12:20 +0000 (00:12 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 26 Jul 2017 18:42:50 +0000 (20:42 +0200)
commitc4f3f70cacba2fa19545389a12d09b606d2ad1cf
tree62f3586dd6cb9ed2a4a702acec3e29d663cb7584
parent9d0ef7af1f2dfd813ddadc17b768f096104e5077
cpufreq: intel_pstate: Drop ->update_util from pstate_funcs

All systems use the same P-state selection "powersave" algorithm
in the active mode if HWP is not used, so there's no need to provide
a pointer for it in struct pstate_funcs any more.

Drop ->update_util from struct pstate_funcs and make
intel_pstate_set_update_util_hook() use intel_pstate_update_util()
directly.

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