commit | 0042b2c0692ade097ef3a6bbffa491da5dc89273 | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Tue Mar 28 00:14:08 2017 +0200 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Tue Mar 28 23:12:15 2017 +0200 |
tree | 4878a8d2a611d5ea4834040bf98c639781a043ac | |
parent | ee8df89a68f27a7484f1fc71d3d69149dd4dd267 [diff] |
cpufreq: intel_pstate: Modify check in intel_pstate_update_status() One of the checks in intel_pstate_update_status() implicitly relies on the information that there are only two struct cpufreq_driver objects available, but it is better to do it directly against the value it really is about (to make the code easier to follow if nothing else). Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>