PCI/PM: Rename pci_wakeup_bus() to pci_resume_bus()
authorMika Westerberg <mika.westerberg@linux.intel.com>
Wed, 25 Nov 2020 09:07:33 +0000 (12:07 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 4 Dec 2020 22:49:45 +0000 (16:49 -0600)
commit99efde6c9bb7b42eac0459876bf964fe08e5cef9
treec9d9cd30dcc4a92a08025abb2248800b44732509
parent80a129afb75cba8434fc5071bd6919172442315c
PCI/PM: Rename pci_wakeup_bus() to pci_resume_bus()

A "wakeup" is a signal from a device telling the system that the device or
the whole system should be awakened and made active.  PCI devices are made
active by "resuming" them.

pci_wakeup_bus() is not involved with the wakeup signal; it *resumes*
devices on a bus (possibly in response to a wakeup signal, but that's at a
higher level).

Rename pci_wakeup_bus() to pci_resume_bus() to better reflect what it does.
No functional change intended.

[bhelgaas: commit log, reorder before removal of pci_wakeup_event()]
Link: https://lore.kernel.org/r/20201125090733.77782-2-mika.westerberg@linux.intel.com
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/gpu/vga/vga_switcheroo.c
drivers/pci/pci.c
include/linux/pci.h