[RFC PATCH v2 0/3] Remove struct pcie_link_state.clkpm_*

From: Saheed O. Bolarinwa
Date: Sat Nov 06 2021 - 13:55:54 EST


These series removes the Clock PM members of the
struct pcie_link_state. Another member is introduced to mark
devices that the kernel has disbled.

VERSION CHANGES:
- v2:
- clkpm_default and clkpm_disable are now left out.
- improve pcie_is_clkpm_capable() based on review.
- replace pcie_get_clkpm_state() with pcie_clkpm_enabled().

MERGE NOTICE:
These series are based on
» 'commit e4e737bb5c17 ("Linux 5.15-rc2")'

Saheed O. Bolarinwa (3):
PCI/ASPM: Merge pcie_set_clkpm_nocheck() into pcie_set_clkpm()
PCI/ASPM: Remove struct pcie_link_state.clkpm_capable
PCI/ASPM: Remove struct pcie_link_state.clkpm_enabled

drivers/pci/pcie/aspm.c | 82 +++++++++++++++++++++--------------------
1 file changed, 42 insertions(+), 40 deletions(-)

--
2.20.1