PCI: ACPI: Get rid of struct pci_platform_pm_ops and clean up code
Get series with b4
b4 am 1800633.tdWV9SEqCh@kreacherVersions newest first · linked by author and title
- v2 Latest7 patches 15 repliesIn review
- v10 of 5 patches 0 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | PCI: PM: Do not use pci_platform_pm_ops for Intel MID PMdrivers/ drivers/ drivers/ | +49 | 0 replies | |
| 2/7 | PCI: ACPI: PM: Do not use pci_platform_pm_ops for ACPIdrivers/ drivers/ drivers/ | +66 | 11 replies | |
| 3/7 | PCI: PM: Drop struct pci_platform_pm_opsdrivers/ drivers/ | +0 | 0 replies | |
| 4/7 | PCI: PM: Rearrange pci_target_state()drivers/ | +9 | 0 replies | |
| 5/7 | PCI: PM: Make pci_choose_state() call pci_target_state()drivers/ drivers/ | +16 | 0 replies | |
| 6/7 | PCI: PM: Do not call platform_pci_power_manageable() unnecessarilydrivers/ | +5 | 0 replies | |
| 7/7 | PCI: PM: Simplify acpi_pci_power_manageable()drivers/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/7] PCI: ACPI: Get rid of struct pci_platform_pm_ops and clean up code
Hi All,
As explained in the changelog of patch [2/7], 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, but it is actually better to call the MID PM function directly from the PCI core either, which is done in patch [1/7].
After these changes, patch [3/7] removes struct pci_platform_pm_ops and the rest is just cleanups and some code consolidation on top of that.
Thanks!