PM / Sleep: Make enter_state() in kernel/power/suspend.c static
authorRafael J. Wysocki <rjw@sisk.pl>
Mon, 13 Feb 2012 15:29:24 +0000 (16:29 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Fri, 17 Feb 2012 22:36:10 +0000 (23:36 +0100)
The enter_state() function in kernel/power/suspend.c should be
static and state_store() in kernel/power/suspend.c should call
pm_suspend() instead of it, so make that happen (which also reduces
code duplication related to suspend statistics).

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>

No differences found