Skip to content
Commit bf39c929 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki
Browse files

PCI: PM: Rearrange pci_target_state()



Make pci_target_state() return D3cold or D0 without checking PME
support if the current power state of the device is D3cold or if it
does not support the standard PCI PM, respectively.

Next, drop the tergat_state local variable that has become redundant
from it.

Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: default avatarFerry Toth <fntoth@gmail.com>
parent f0918371
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment