aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorRafael J. Wysocki2020-07-27 17:15:43 +0200
committerRafael J. Wysocki2020-07-30 18:19:52 +0200
commit3a9571760665817a269eb8f74749cbc231e7af45 (patch)
treea700f0dc52e355010ab9d7f5adf4396f9541c8a9 /arch/powerpc
parent80e30368669e0387d9778b15bd1b985074725a2e (diff)
cpufreq: intel_pstate: Rearrange the storing of new EPP values
Move the locking away from intel_pstate_set_energy_pref_index() into its only caller and drop the (now redundant) return_pref label from it. Also move the "raw" EPP value check into the caller of that function, so as to do it before acquiring the mutex, and reduce code duplication related to the "raw" EPP values processing somewhat. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions