[PATCH 0/6] PCI/PM: Minor fix and cleanups

From: Bjorn Helgaas
Date: Fri Nov 01 2019 - 16:46:16 EST


From: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>

First, fix our D2 delay (which I think was just a bug -- we delayed in
microseconds instead of milliseconds, but I'm not sure we really even use
D2).

The rest are just cleanups that should not change any behavior. These are
based on my current pci/pm branch (0d1685046e61) and I pushed them to
pci/pm-2 for now.

Bjorn Helgaas (6):
PCI/PM: Apply D2 delay as milliseconds, not microseconds
PCI/PM: Expand PM reset messages to mention D3hot (not just D3)
PCI/PM: Simplify pci_set_power_state()
xen-platform: Convert to generic power management
PCI/PM: Remove unused pci_driver.resume_early() hook
PCI/PM: Remove unused pci_driver.suspend_late() hook

Documentation/power/pci.rst | 10 ++++-----
drivers/pci/pci-driver.c | 43 ++++++-------------------------------
drivers/pci/pci.c | 8 +++----
drivers/xen/platform-pci.c | 10 ++++++---
include/linux/pci.h | 4 ----
5 files changed, 22 insertions(+), 53 deletions(-)

--
2.24.0.rc1.363.gb1bccd3e3d-goog