]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit45d55a5593fe00c16dd982d1ccfb17525ee2bbfe
tree9451305b272f26b09026417f01dbf62eed886a9f
parent1b304db6000c72883956d0155abb75ab93ffb5b3
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