aboutsummaryrefslogtreecommitdiff
path: root/fs/super.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2009-01-07 13:11:28 +0100
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-01-07 11:19:39 -0800
commitd67e37d7933ba3b28a63ff38c957e433aaca5dc4 (patch)
tree5cb865b181891308695be0074f057756bd7172c9 /fs/super.c
parent98e6e286d7b01deb7453b717aa38ebb69d6cefc0 (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 'fs/super.c')
0 files changed, 0 insertions, 0 deletions