]> git.itanic.dy.fi Git - linux-stable/commit
PCI: cadence: Use FIELD_GET()
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 18 Oct 2023 11:32:48 +0000 (14:32 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 18 Oct 2023 16:12:51 +0000 (11:12 -0500)
commitb09d0f98a434bd6b9b9e0fb63bebfcac5e1a679e
treeec07f60f78fadb84c9260ed046ca9db07df6989e
parentd1f9b39da4a5347150246871325190018cda8cb3
PCI: cadence: Use FIELD_GET()

Convert open-coded variants of PCI field access into FIELD_GET() to
make the code easier to understand.

Link: https://lore.kernel.org/r/20231018113254.17616-2-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/controller/cadence/pcie-cadence-ep.c