PCI/ASPM: Remove PCIEASPM_DEBUG Kconfig option and related code
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 5 Oct 2019 12:08:52 +0000 (14:08 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 21 Nov 2019 23:31:46 +0000 (17:31 -0600)
commit87e90283c94c76ee11d379ab5a0973382bbd0baf
tree2c850e49234b7db430800931648e989c942c22f3
parent72ea91afbfb08619696ccde610ee4d0d29cf4a1d
PCI/ASPM: Remove PCIEASPM_DEBUG Kconfig option and related code

Previously, CONFIG_PCIEASPM_DEBUG enabled "link_state" and "clk_ctl" sysfs
files that controlled ASPM.  We believe these files were rarely if ever
used.

We recently added sysfs ASPM controls that are always present, so the debug
code is no longer needed.  Removing this debug code has been discussed for
quite some time, see e.g. [0].

Remove PCIEASPM_DEBUG and the related code.

[0] https://lore.kernel.org/lkml/20180727202619.GD173328@bhelgaas-glaptop.roam.corp.google.com/
Link: https://lore.kernel.org/r/ec935d8e-c084-3938-f1d1-748617596b25@gmail.com
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci-sysfs.c
drivers/pci/pci.h
drivers/pci/pcie/Kconfig
drivers/pci/pcie/aspm.c