diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2007-06-17 19:48:06 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-07-12 01:09:02 +0200 |
commit | 515c53576299e32d6bdb6295cfa2fe1307516eb4 (patch) | |
tree | 210def9ddfced2800dc014a49a6f6a37dbf795eb /Documentation/pci.txt | |
parent | Driver core: fix devres_release_all() return value (diff) | |
download | linux-515c53576299e32d6bdb6295cfa2fe1307516eb4.tar.xz linux-515c53576299e32d6bdb6295cfa2fe1307516eb4.zip |
PM: Remove prev_state from struct dev_pm_info
The prev_state member of struct dev_pm_info (defined in include/linux/pm.h) is
only used during a resume to check if the device's state before the suspend was
'off', in which case the device is not resumed. However, in such cases the
decision whether or not to resume the device should be made on the driver level
and the resume callbacks from the device's bus and class should be executed
anyway (the may be needed for some things other than just powering on the
device).
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/pci.txt')
0 files changed, 0 insertions, 0 deletions