diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2009-01-07 07:11:28 -0500 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-01-07 14:19:39 -0500 |
commit | d67e37d7933ba3b28a63ff38c957e433aaca5dc4 (patch) | |
tree | 5cb865b181891308695be0074f057756bd7172c9 /drivers/ieee1394/pcilynx.c | |
parent | 98e6e286d7b01deb7453b717aa38ebb69d6cefc0 (diff) |
PCI PM: Run default PM callbacks for all devices using new framework
It should be quite clear that it generally makes sense to execute
the default PM callbacks (ie. the callbacks used for handling
suspend, hibernation and resume of PCI devices without drivers) for
all devices. Of course, the drivers that provide legacy PCI PM
support (ie. the ->suspend, ->suspend_late, ->resume_early
or ->resume hooks in the pci_driver structure), carry out these
operations too, so we can't do it for devices with such drivers.
Still, we can make the default PM callbacks run for devices with
drivers using the new framework (ie. implement the pm object), since
there are no such drivers at the moment.
This also simplifies the code and makes it smaller.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/ieee1394/pcilynx.c')
0 files changed, 0 insertions, 0 deletions