diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-11-05 11:27:49 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2019-11-20 17:35:41 -0600 |
commit | adfac8f6b7396b408fa9a8f40ea41112bebb980f (patch) | |
tree | 2056a54f284f66e543265813c8d2c83461206b5d /drivers/pci/slot.c | |
parent | 81cfa5908fd6fe610b7c47b742fe30d6d897ba0f (diff) | |
download | linux-adfac8f6b7396b408fa9a8f40ea41112bebb980f.tar.gz linux-adfac8f6b7396b408fa9a8f40ea41112bebb980f.tar.bz2 linux-adfac8f6b7396b408fa9a8f40ea41112bebb980f.zip |
PCI/PM: Use pci_power_up() in pci_set_power_state()
Make it explicitly clear that the code to put devices into D0 in
pci_set_power_state() and in pci_pm_default_resume_early() is the
same by making the latter use pci_power_up() for transitions into D0.
Code rearrangement, no intentional functional impact.
Link: https://lore.kernel.org/r/2520019.OZ1nXS5aSj@kreacher
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/pci/slot.c')
0 files changed, 0 insertions, 0 deletions