]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit5f7875d651c22770c7382f9b1a9de228bc69237a
tree289c8a202b84e45e08a8813cb95e18a410029f0f
parent67bcc9ad6810c43195959f2fd7a202959860e5c8
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