]> git.itanic.dy.fi Git - linux-stable/commit
PCI/ASPM: Use FIELD_GET/PREP() to access PCIe capability fields
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 15 Sep 2023 15:57:47 +0000 (18:57 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 10 Oct 2023 21:03:51 +0000 (16:03 -0500)
commit52d92516cb2e04a9b1b8837079a561ca672c1d5e
tree1e1fbf76d8b780ce1e90e6866e83ae2f3f339d4f
parent1a11074be2e94736d12e49a9a562b0a54e8a423d
PCI/ASPM: Use FIELD_GET/PREP() to access PCIe capability fields

Replace open-coded variants to access PCIe capability registers fields
with FIELD_GET/PREP().

Link: https://lore.kernel.org/r/20230915155752.84640-3-ilpo.jarvinen@linux.intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/aspm.c