PM / sleep: Move platform suspend operations to separate functions
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 22 Jul 2014 22:57:53 +0000 (00:57 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 22 Jul 2014 22:57:53 +0000 (00:57 +0200)
commit8490fdf923fc6cf6c31a53b73cafdf582a9642f0
tree9451305b272f26b09026417f01dbf62eed886a9f
parentd431cbc53cb787a7f82d7d2fe0af65156db4d27a
PM / sleep: Move platform suspend operations to separate functions

After the introduction of freeze_ops it makes more sense to move
all of the platform suspend operations to separate functions that
each will do all of the necessary checks and choose the right
callback to execute istead of doing all that in the core code
which makes it generally harder to follow.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/power/suspend.c