]> err.no Git - linux-2.6/commit
PM: Remove pm_parent from struct dev_pm_info
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 13 Jun 2007 13:53:34 +0000 (15:53 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 Jul 2007 23:09:01 +0000 (16:09 -0700)
commit9cddad77574313fcee36c5e60122718daa7c0361
tree2d6dd05e02ffff565ffb23046933f33cda0531e8
parent11048dcf333c414f237bb713c422e68f67b115a3
PM: Remove pm_parent from struct dev_pm_info

The pm_parent member of struct dev_pm_info (defined in include/linux/pm.h) is
only used to check if the device's parent is in the right state while the
device is being suspended or resumed.  However, this can be done just as well
with the help of the parent pointer in struct device, so pm_parent can be
removed along with some code that handles it.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/power/main.c
drivers/base/power/resume.c
drivers/base/power/suspend.c
include/linux/pm.h