freezer: convert freezable helpers to static inline where possible
authorColin Cross <ccross@android.com>
Mon, 6 May 2013 23:50:13 +0000 (23:50 +0000)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 22:44:10 +0000 (15:44 -0700)
commit68fdb041978defd40177c4a33adf365888ce0577
treeb4e851809616ece0e795e21357a9655fb3cac6c0
parentb672c61fc25d042cc14e25b97fcae95156846100
freezer: convert freezable helpers to static inline where possible

Some of the freezable helpers have to be macros because their
condition argument needs to get evaluated every time through
the wait loop.  Convert the others to static inline to make
future changes easier.

Change-Id: I69d3fc10d26522cb9bf3a616ff4f21245f9c071a
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/linux/freezer.h