]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
PCI: PM: Simplify bus-level hibernation callbacks
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 1 Jul 2019 10:46:45 +0000 (12:46 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 2 Jul 2019 22:13:24 +0000 (00:13 +0200)
commita78ae45a795aa579efa4094729073bbdab02da25
tree9ddf68d9457be9232d5d57ac03d832050ef65b8e
parent501debd4aa5edc755037c39ea5a8fba23b41e580
PCI: PM: Simplify bus-level hibernation callbacks

After a previous change causing all runtime-suspended PCI devices
to be resumed before creating a snapshot image of memory during
hibernation, it is not necessary to worry about the case in which
them might be left in runtime-suspend any more, so get rid of the
code related to that from bus-level PCI hibernation callbacks.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
drivers/pci/pci-driver.c