Aaron Lu 2807bd18cc ACPI / thermal: fix workqueue destroy order
When the thermal module is to be removed, we should destroy the wq
acpi_thermal_pm_queue after the ACPI driver's remove callback is
executed as we will need to flush the workqueue there, or a NULL pointer
access will be hit.

Reported-and-tested-by: Kui Zhang <kuizhang@gmail.com>
References: http://www.spinics.net/lists/kernel/msg1747251.html
Cc: All applicable <stable@vger.kernel.org>
Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2014-05-26 14:34:07 +02:00
..
2014-04-05 15:37:40 -07:00
2014-04-08 13:27:40 +02:00
2014-04-29 19:23:22 +02:00
2014-04-16 12:28:47 -07:00
2014-05-07 16:28:52 -07:00
2014-05-21 18:57:25 +09:00
2014-04-24 12:53:38 -07:00
2014-04-18 16:40:08 -07:00
2014-05-17 15:49:40 -07:00
2014-05-03 18:14:28 -04:00
2014-04-03 14:05:02 -07:00
2014-04-16 14:07:51 -07:00
2014-05-13 11:21:01 +09:00
2014-05-22 04:26:23 +09:00