aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/pci-host-common.c
diff options
context:
space:
mode:
authorHans Zhang <[email protected]>2025-04-01 14:50:23 +0000
committerBjorn Helgaas <[email protected]>2025-05-28 21:55:27 +0000
commit16b2da850f6f79bf9013516ce78b27a8abb10359 (patch)
tree2fe6f01cc093a2aac8beb49a7f1d66b23c5d855d /drivers/pci/controller/pci-host-common.c
parentPCI: cadence: Fix runtime atomic count underflow (diff)
downloadkernel-16b2da850f6f79bf9013516ce78b27a8abb10359.tar.gz
kernel-16b2da850f6f79bf9013516ce78b27a8abb10359.zip
PCI: cadence: Remove duplicate message code definitions
The Cadence PCIe controller driver defines message codes in enum cdns_pcie_msg_code duplicating the existing PCIE_MSG_CODE_* definitions in drivers/pci/pci.h. The driver only uses ASSERT_INTA and DEASSERT_INTA codes from this enum. Remove the redundant Cadence-specific enum definitions and use the ones available in drivers/pci/pci.h. This helps in avoiding code duplication, maintaining consistency with the spec, and simplifying the code maintenance. Signed-off-by: Hans Zhang <[email protected]> [mani: commit message rewording] Signed-off-by: Manivannan Sadhasivam <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions