commit | d5a2a6bb27f390f36c899907490d25ce1e83eec5 | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Fri Mar 06 00:05:34 2020 +0100 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Sat Mar 14 11:44:56 2020 +0100 |
tree | fcf1dca34a75cd34029b5d1e3d696724c1234ab1 | |
parent | 2c523b344dfa65a3738e7039832044aa133c75fb [diff] |
cpufreq: intel_pstate: Consolidate policy verification There is still some code duplication between intel_pstate_verify_policy() and intel_cpufreq_verify_policy(), so avoid it by moving the common code into a separate function and calling it from both these places. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>