]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/ASPM: Remove struct aspm_register_info.latency_encoding
authorSaheed O. Bolarinwa <refactormyself@gmail.com>
Thu, 15 Oct 2020 19:30:33 +0000 (14:30 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 16 Oct 2020 16:21:02 +0000 (11:21 -0500)
commit4294b4c64c80bde2d439dcbe1f12a00ecccfdb65
tree289c8a202b84e45e08a8813cb95e18a410029f0f
parentcee672f28cc6e611d9fa41242d5f0dd63a1e3da0
PCI/ASPM: Remove struct aspm_register_info.latency_encoding

Previously we stored L0s and L1 Exit Latency information from the Link
Capabilities register in the struct aspm_register_info.

We only need these latencies when we already have the Link Capabilities
values, so use those directly and remove the latencies from struct
aspm_register_info.  No functional change intended.

Link: https://lore.kernel.org/r/20201015193039.12585-7-helgaas@kernel.org
Signed-off-by: Saheed O. Bolarinwa <refactormyself@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/aspm.c