ACPI / fan: do nothing in suspend and poweroff callback
authorAaron Lu <aaron.lu@intel.com>
Wed, 19 Feb 2014 04:16:48 +0000 (12:16 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 20 Feb 2014 20:42:09 +0000 (21:42 +0100)
commitb9b8515f34fa182e26ee934c3a83f24e2d8bd846
treede5413f115b9f0fd410a9c78a5010ec06cd9e7e7
parent5e2e46e84b6f77d4f8e51d6e33ff8eb0f47288f2
ACPI / fan: do nothing in suspend and poweroff callback

We put fans to full speed in acpi_fan_suspend(), but that is only
needed in the hibernation case when we are generating hibernation
image, so this patch removes that when we are about to suspend or
poweroff.

References: http://www.spinics.net/lists/linux-acpi/msg48636.html
Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/fan.c