Tejun Heo 3a7cbd50f7 freezer: don't unnecessarily set PF_NOFREEZE explicitly
Some drivers set PF_NOFREEZE in their kthread functions which is
completely unnecessary and racy - some part of freezer code doesn't
consider cases where PF_NOFREEZE is set asynchronous to freezer
operations.

In general, there's no reason to allow setting PF_NOFREEZE explicitly.
Remove them and change the documentation to note that setting
PF_NOFREEZE directly isn't allowed.

-v2: Dropped change to twl4030-irq.c as it no longer uses PF_NOFREEZE.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: "Gustavo F. Padovan" <padovan@profusion.mobi>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Cc: Marcel Holtmann <marcel@holtmann.org>
Cc: wwang <wei_wang@realsil.com.cn>
2011-11-21 12:32:22 -08:00
..
2011-03-23 10:41:43 +01:00
2011-10-24 14:09:13 +02:00
2011-10-24 14:09:19 +02:00
2011-03-31 11:26:23 -03:00
2011-10-24 14:09:16 +02:00
2011-03-27 00:09:51 +01:00
2011-05-26 19:45:28 +02:00
2011-05-26 19:45:28 +02:00
2011-07-31 23:28:25 +02:00
2011-07-31 23:28:25 +02:00
2011-03-31 11:26:23 -03:00
2011-03-23 10:41:59 +01:00