From: Grygorii Strashko Date: Mon, 27 Apr 2015 18:24:30 +0000 (+0300) Subject: PM / sleep: Add macro to define common noirq system PM callbacks X-Git-Tag: omap-for-v4.3/legacy-v2-signed~183^2~6^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=020af89a41c41fd2c92d0da524968dfaba6269f0;p=pandora-kernel.git PM / sleep: Add macro to define common noirq system PM callbacks The same approach is used as for the existing SET_SYSTEM_SLEEP_PM_OPS, but for noirq callbacks. New SET_NOIRQ_SYSTEM_SLEEP_PM_OPS, defined for CONFIG_PM_SLEEP, will point ->suspend_noirq, ->freeze_noirq and ->poweroff_noirq to the same function. Vice versa happens for ->resume_noirq, ->thaw_noirq and ->restore_noirq. Signed-off-by: Grygorii Strashko Acked-by: Santosh Shilimkar Reviewed-by: Ulf Hansson Acked-by: Pavel Machek Reviewed-by: Kevin Hilman Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed