2021-09-19 04:16:55

by Rafael J. Wysocki

[permalink] [raw]
Subject: [PATCH v1 0/5] PCI: ACPI: Get rid of struct pci_platform_pm_ops and clean up code

Hi All,

As explained in the changelog of patch [2/5], using struct pci_platform_pm_ops
for ACPI is not particularly beneficial, so it is better to get rid of it and
call the functions pointed to by it directly from the PCI core.

However, struct pci_platform_pm_ops is also used by the Intel MID support code
that basically is regarded as dead which is why the majority of it has been
dropped already as of commit 4590d98f5a4f ("sfi: Remove framework for deprecated
firmware"). Since it doesn't make much sense to update that code, patch [1/5]
drops the PCI part of it along with some arch pieces that are only needed for
the PCI stuff.

The main modification is made by patch [2/5] (see the changelog thereof for
details).

The rest is just cleanups and some code consolidation on top of that.

Thanks!