diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2019-10-31 17:53:04 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2019-11-20 17:35:14 -0600 |
commit | 89cdbc3546354c359558a1809133902028c57da4 (patch) | |
tree | cb5146e8d11af3cb4fc88ceb3b7c3dbf068e3c44 /Documentation/power | |
parent | 77b84bb306fd0d5d1d3a4bf1f2acf73dc971e372 (diff) |
PCI/PM: Remove unused pci_driver.resume_early() hook
The struct pci_driver.resume_early() hook is one of the legacy PCI power
management callbacks, and there are no remaining users of it. Remove it.
Link: https://lore.kernel.org/r/20191101204558.210235-6-helgaas@kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Documentation/power')
-rw-r--r-- | Documentation/power/pci.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/power/pci.rst b/Documentation/power/pci.rst index a90e82c70a3b..ff7029b94068 100644 --- a/Documentation/power/pci.rst +++ b/Documentation/power/pci.rst @@ -692,7 +692,7 @@ controlling the runtime power management of their devices. At the time of this writing there are two ways to define power management callbacks for a PCI device driver, the recommended one, based on using a dev_pm_ops structure described in Documentation/driver-api/pm/devices.rst, and -the "legacy" one, in which the .suspend(), .suspend_late(), .resume_early(), and +the "legacy" one, in which the .suspend(), .suspend_late(), and .resume() callbacks from struct pci_driver are used. The legacy approach, however, doesn't allow one to define runtime power management callbacks and is not really suitable for any new drivers. Therefore it is not covered by this |