diff options
| author | 2025-11-14 19:48:34 +0100 | |
|---|---|---|
| committer | 2025-11-18 15:51:31 +0100 | |
| commit | b20a374902bbb647b87e874bb2c9d708abc0109f (patch) | |
| tree | 800fa58a2bbac6d55e250cc14982f77bd3d5724e /tools/objtool/git:/git.zx2c4.com/ssh:/git@git.zx2c4.com | |
| parent | cpufreq: intel_pstate: Use mutex guard for driver locking (diff) | |
cpufreq: intel_pstate: Eliminate some code duplication
To eliminate some code duplication from the intel_pstate driver,
move the core_get_val() function body to a new function called
get_perf_ctl_val() and make both core_get_val() and atom_get_val()
invoke it to carry out the same computation.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Link: https://patch.msgid.link/2829273.mvXUDI8C0e@rafael.j.wysocki
Diffstat (limited to 'tools/objtool/git:/git.zx2c4.com/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
