PM: Reorganize device PM initialization
authorRafael J. Wysocki <rjw@sisk.pl>
Sun, 5 Aug 2012 23:44:28 +0000 (01:44 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Mon, 3 Sep 2012 23:36:03 +0000 (01:36 +0200)
commite91c11b1a7f876c6f056d872eb210734150a1795
tree7f988ffa41a4a4f04aaad939d1f8b9baf1766d9e
parentcc7ad4564b1097c916834dc919678867631e7676
PM: Reorganize device PM initialization

Make the device power management initialization more straightforward
by moving the initialization of common (i.e. used by both runtime PM
and system suspend) fields to a separate routine.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/base/power/main.c
drivers/base/power/power.h