]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/ASPM: Remove struct aspm_latency
authorSaheed O. Bolarinwa <refactormyself@gmail.com>
Fri, 19 Nov 2021 19:37:32 +0000 (20:37 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 19 Nov 2021 22:46:26 +0000 (16:46 -0600)
commitd319dbac3fb99fccb5d43e6ee9e484973a134df8
tree4b4005d26ffbabe1824c9bc3aaa4875d593dc40d
parent15ded50b34482fde63babb2048771d4885ef0e3e
PCI/ASPM: Remove struct aspm_latency

The struct aspm_latency is now used only inside pcie_aspm_check_latency().

Replace struct aspm_latency variables with u32 variables and remove struct
aspm_latency.

Link: https://lore.kernel.org/r/20211119193732.12343-5-refactormyself@gmail.com
Signed-off-by: Saheed O. Bolarinwa <refactormyself@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
drivers/pci/pcie/aspm.c