dmaengine: ioat: use PCI core macros for PCIe Capability
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 7 Mar 2023 21:46:15 +0000 (15:46 -0600)
committerVinod Koul <vkoul@kernel.org>
Fri, 17 Mar 2023 17:45:49 +0000 (23:15 +0530)
commit8f6707d0773be31972768abd6e0bf7b8515b5b1a
tree466c1b83440b9a7a44ec40ac94c69fe508496560
parent3765af04f4fda327463e5b631a4a2d62ae7bb93f
dmaengine: ioat: use PCI core macros for PCIe Capability

The PCIe Capability is defined by the PCIe spec, so use the PCI_EXP_DEVCTL
macros defined by the PCI core instead of defining copies in IOAT.  This
makes it easier to find all uses of the PCIe Device Control register.  No
functional change intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20230307214615.887354-1-helgaas@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/ioat/init.c
drivers/dma/ioat/registers.h