summaryrefslogtreecommitdiff
path: root/lib/locking-selftest-rsem.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-03-28 00:13:00 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-03-28 23:12:15 +0200
commitee8df89a68f27a7484f1fc71d3d69149dd4dd267 (patch)
tree3d9a32c76c7d4dab1898c469ae00689ea753fdac /lib/locking-selftest-rsem.h
parent694cb173475a048a05daebf27cc8fdb7865c158b (diff)
downloadlinux-rpi-ee8df89a68f27a7484f1fc71d3d69149dd4dd267.tar.gz
linux-rpi-ee8df89a68f27a7484f1fc71d3d69149dd4dd267.tar.bz2
linux-rpi-ee8df89a68f27a7484f1fc71d3d69149dd4dd267.zip
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>
Diffstat (limited to 'lib/locking-selftest-rsem.h')
0 files changed, 0 insertions, 0 deletions