commit | ee8df89a68f27a7484f1fc71d3d69149dd4dd267 | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Tue Mar 28 00:13:00 2017 +0200 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Tue Mar 28 23:12:15 2017 +0200 |
tree | 3d9a32c76c7d4dab1898c469ae00689ea753fdac | |
parent | 694cb173475a048a05daebf27cc8fdb7865c158b [diff] |
cpufreq: intel_pstate: Drop driver_registered variable The driver_registered variable in intel_pstate is used for checking whether or not the driver has been registered, but intel_pstate_driver can be used for that too (with the rule that the driver is not registered as long as it is NULL). That is a bit more straightforward and the code may be simplified a bit this way, so modify the driver accordingly. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>