PM / Sleep: Drop suspend_stats_update()
authorRafael J. Wysocki <rjw@sisk.pl>
Mon, 13 Feb 2012 15:29:33 +0000 (16:29 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Fri, 17 Feb 2012 22:36:23 +0000 (23:36 +0100)
commitbc25cf508942c56810d4fb623ef27b56ccef7783
tree1a991dd6fc5fcbdc0ef3eebe4ef5291787dd6d30
parent93e1ee43a72b11e1b50aab87046c131a836a4456
PM / Sleep: Drop suspend_stats_update()

Since suspend_stats_update() is only called from pm_suspend(),
move its code directly into that function and remove the static
inline definition from include/linux/suspend.h.  Clean_up
pm_suspend() in the process.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
include/linux/suspend.h
kernel/power/suspend.c