OSDN Git Service

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)
commitfa285baf844303d119d657d4f97e0777acd51b8e
tree4b4005d26ffbabe1824c9bc3aaa4875d593dc40d
parent6e332df7c380a7bc936275cba1ed356d9eb36b39
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