ACPI / PAD: power_saving_thread() is not freezable
authorJiri Kosina <jkosina@suse.cz>
Mon, 26 Oct 2015 03:02:01 +0000 (04:02 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 26 Oct 2015 03:42:54 +0000 (04:42 +0100)
commit21657471688508ced523b3bf0a763d73d546ad1a
tree953b9b11f6b213ec96f66909f045c816de9ed2af
parent32b88194f71d6ae7768a29f87fbba454728273ee
ACPI / PAD: power_saving_thread() is not freezable

power_saving_thread() calls try_to_freeze(), but the thread doesn't mark
itself freezable through set_freezable(), so the try_to_freeze()
call is useless.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_pad.c