[PATCH 11/13] intel_idle: Clean up all registered devices on exit.

2016-04-06 Thread Len Brown
From: Richard Cochran This driver registers cpuidle devices when a CPU comes online, but it leaves the registrations in place when a CPU goes offline. The module exit code only unregisters the currently online CPUs, leaving the devices for offline CPUs dangling. This

[PATCH 11/13] intel_idle: Clean up all registered devices on exit.

2016-04-06 Thread Len Brown
From: Richard Cochran This driver registers cpuidle devices when a CPU comes online, but it leaves the registrations in place when a CPU goes offline. The module exit code only unregisters the currently online CPUs, leaving the devices for offline CPUs dangling. This patch changes the driver