From: Srivatsa S. Bhat Date: Tue, 6 Dec 2011 22:18:12 +0000 (+0100) Subject: PM / Sleep: Use the freezer_count() functions in [un]lock_system_sleep() APIs X-Git-Tag: v3.3-rc1~167^2~4^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33e638b9070ba5e8812836e20390da6a6af13900;p=pandora-kernel.git PM / Sleep: Use the freezer_count() functions in [un]lock_system_sleep() APIs Now that freezer_count() and freezer_do_not_count() don't have the restriction that they are effective only when called by userspace processes, use them in lock_system_sleep() and unlock_system_sleep() instead of open-coding their parts. Signed-off-by: Srivatsa S. Bhat Acked-by: Tejun Heo Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed