PCI/DPC: Use FIELD_GET()
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 18 Oct 2023 11:32:51 +0000 (14:32 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 24 Oct 2023 15:54:04 +0000 (10:54 -0500)
commit9a9eec4765737b9b2a8d6ae03de6480a5f12dd5c
tree16be8c879c2301d02da4326852228ed8773797ce
parentabaaac4845a0d6f39f83cbaba4c3b46ba5f93170
PCI/DPC: Use FIELD_GET()

Use FIELD_GET() to remove dependencies on the field position, i.e., the
shift value. No functional change intended.

Link: https://lore.kernel.org/r/20231018113254.17616-5-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/dpc.c
drivers/pci/quirks.c
include/uapi/linux/pci_regs.h