This series consolidates ASPM related defines into the ones in linux/pci.h and eliminates the almost duplicate ones from aspm.c. This allows using the input without mapping between the defines so the state mapping code to focus on the special cases. Ilpo Järvinen (2): PCI/ASPM: Consolidate link state defines PCI/ASPM: Cleanup ASPM disable/enable mask calculation drivers/pci/pcie/aspm.c | 180 ++++++++++++++++++++-------------------- include/linux/pci.h | 22 ++--- 2 files changed, 100 insertions(+), 102 deletions(-) -- 2.39.2