]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PM / Sleep: Unify diagnostic messages from device suspend/resume
authorRafael J. Wysocki <rjw@sisk.pl>
Mon, 28 Nov 2011 21:18:43 +0000 (22:18 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Mon, 28 Nov 2011 21:18:43 +0000 (22:18 +0100)
commita5469f18c8cc9834b23cc2c6f4b7aabc03f3413a
treefa26f89c41610cdc3df0af155b908842743966be
parent89b1f0af2394edaa1675092a0d9f1cc30cba4d72
PM / Sleep: Unify diagnostic messages from device suspend/resume

Make pm_op() and pm_noirq_op() use the same helper function for
running callbacks, which will cause them to use the same format of
diagnostic messages.  This also reduces the complexity and size of
the code quite a bit.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/power/main.c