diff options
author | Rajvi Jingar <rajvi.jingar@linux.intel.com> | 2022-08-30 03:49:12 -0700 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2022-09-12 15:30:18 -0500 |
commit | 4c00cba122f3f3ae54aa5a3a1aec3afc7a2e6f94 (patch) | |
tree | 39af54e375c3c17fbf126ac53082aa1d664d5d16 /drivers/pci/controller/dwc/pci-keystone.c | |
parent | c01163dbd1b8aa016c163ff4bf3a2e90311504f1 (diff) | |
download | linux-4c00cba122f3f3ae54aa5a3a1aec3afc7a2e6f94.tar.bz2 |
PCI/PM: Simplify pci_pm_suspend_noirq()
We always want to save the device state unless the driver has already done
it. Rearrange the checking in pci_pm_suspend_noirq() to make this more
clear. No functional change intended.
[bhelgaas: commit log, rewrap comment]
Link: https://lore.kernel.org/r/20220830104913.1620539-1-rajvi.jingar@linux.intel.com
Signed-off-by: Rajvi Jingar <rajvi.jingar@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-keystone.c')
0 files changed, 0 insertions, 0 deletions