From: Alan Stern Date: Fri, 19 Aug 2011 21:49:48 +0000 (+0200) Subject: PM / Runtime: Add macro to test for runtime PM events X-Git-Tag: v3.2-rc1~178^2~24^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b1b0b812a7b1a5b968c5d06d90d1cb88621b941;p=pandora-kernel.git 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 Acked-by: Greg Kroah-Hartman Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed