Alan Stern 5b1b0b812a PM / Runtime: Add macro to test for runtime PM events
This patch (as1482) adds a macro for testing whether or not a
pm_message value represents an autosuspend or autoresume (i.e., a
runtime PM) event.  Encapsulating this notion seems preferable to
open-coding the test all over the place.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
2011-08-19 23:49:48 +02:00
..
2010-05-20 13:21:40 -07:00
2008-02-01 14:34:47 -08:00
2005-04-16 15:20:36 -07:00
2006-11-30 04:55:36 +01:00
2006-10-03 22:55:17 +02:00
2008-11-19 14:46:33 +00:00