diff options
author | 2022-05-05 20:05:15 +0200 | |
---|---|---|
committer | 2022-05-05 14:19:48 -0500 | |
commit | 6d8c016a55aca612802fc325eb0e659d1c5f255d (patch) | |
tree | 23ac717e899933b43433ac2d438a63e314c757bb /lib/kasprintf.c | |
parent | PCI/PM: Set current_state to D3cold if the device is not accessible (diff) | |
download | linux-dev-6d8c016a55aca612802fc325eb0e659d1c5f255d.tar.xz linux-dev-6d8c016a55aca612802fc325eb0e659d1c5f255d.zip |
PCI/PM: Unfold pci_platform_power_transition() in pci_power_up()
Some actions carried out by pci_platform_power_transition(() in
pci_power_up() are redundant, but before dealing with them, make
pci_power_up() call the pci_platform_power_transition() code directly
(and avoid a redundant check when pm_cap is unset while at it).
Link: https://lore.kernel.org/r/1922486.PYKUYFuaPT@kreacher
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'lib/kasprintf.c')
0 files changed, 0 insertions, 0 deletions