PM / s2idle: Rearrange the main suspend-to-idle loop
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 21 Jul 2017 00:07:54 +0000 (02:07 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 24 Jul 2017 21:53:44 +0000 (23:53 +0200)
commit8e6bcd9f7eac47104ce6c5d82c554c9b244b38e1
tree74a789ae4c8825bb513a1a8e75c6613dbace2208
parentcb08e0353c249a27aed10c6f60a13871ae449d33
PM / s2idle: Rearrange the main suspend-to-idle loop

As a preparation for subsequent changes, rearrange the core
suspend-to-idle code by moving the initial invocation of
dpm_suspend_noirq() into s2idle_loop().

This also causes debug messages from that code to appear in
a less confusing order.

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