PM / Sleep: Unify diagnostic messages from device suspend/resume
authorRafael J. Wysocki <rjw@sisk.pl>
Fri, 2 Dec 2011 23:23:43 +0000 (00:23 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Tue, 6 Dec 2011 21:09:45 +0000 (22:09 +0100)
commit0c6aebe31861c470c8cfbfdfdfd72d1369a6440b
tree1d23085d79374baae2aa51730a1d49632f332c50
parent5a50a7c32d630d6cdb13d69afabb0cc81b2f379c
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