ACPI / PM: Consolidate suspend-specific and hibernate-specific code
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 17 Jan 2013 13:11:09 +0000 (14:11 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 19 Jan 2013 21:09:23 +0000 (22:09 +0100)
commit02040f0bba996f93e2a237089aff343515b49fcf
tree8183b5ea953afb9900c34e402cc0888e1133d1b3
parent9ce4e607111764673f7a59d7bc87a16ade5c7bba
ACPI / PM: Consolidate suspend-specific and hibernate-specific code

Move some suspend-specific and hibernate-specific code from
acpi_sleep_init() into separate functions to get rid of explicit
#ifdefs in acpi_sleep_init().  Use pr_info() to start and pr_cont()
to continue printing the supported ACPI sleep states line.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/sleep.c