diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-04-26 02:30:00 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-04-26 02:30:00 +0200 |
commit | f0fb0dd0a715bd29caf9c55cf4a2a52a14a8fd61 (patch) | |
tree | 9d07add8ec942292ad205c4836bb3eb3cdf69051 /drivers/cpuidle/cpuidle.c | |
parent | Merge branch 'cpuidle/4.7' of http://git.linaro.org/people/daniel.lezcano/lin... (diff) | |
parent | intel_idle: add BXT support (diff) | |
download | linux-f0fb0dd0a715bd29caf9c55cf4a2a52a14a8fd61.tar.xz linux-f0fb0dd0a715bd29caf9c55cf4a2a52a14a8fd61.zip |
Merge back earlier cpuidle changes for v4.7.
Diffstat (limited to '')
-rw-r--r-- | drivers/cpuidle/cpuidle.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/cpuidle/cpuidle.c b/drivers/cpuidle/cpuidle.c index f996efc56605..c2dd99ab1648 100644 --- a/drivers/cpuidle/cpuidle.c +++ b/drivers/cpuidle/cpuidle.c @@ -433,6 +433,8 @@ static void __cpuidle_unregister_device(struct cpuidle_device *dev) list_del(&dev->device_list); per_cpu(cpuidle_devices, dev->cpu) = NULL; module_put(drv->owner); + + dev->registered = 0; } static void __cpuidle_device_init(struct cpuidle_device *dev) |