PCI: rockchip: Remove redundant PCIe message routing definitions
authorHans Zhang <18255117159@163.com>
Sat, 7 Jun 2025 15:49:13 +0000 (23:49 +0800)
committerManivannan Sadhasivam <mani@kernel.org>
Thu, 19 Jun 2025 12:53:57 +0000 (18:23 +0530)
commit1a69c63fdf1c9095e132096081e27ac85a4d48a5
tree299b1211c2dfbf04d1e500d4adf691dbf274d320
parent19272b37aa4f83ca52bdf9c16d5d81bdd1354494
PCI: rockchip: Remove redundant PCIe message routing definitions

The Rockchip driver contains duplicated message routing and INTx code
definitions (e.g., ROCKCHIP_PCIE_MSG_ROUTING_TO_RC,
ROCKCHIP_PCIE_MSG_CODE_ASSERT_INTA). These are already provided by the
PCI core in drivers/pci/pci.h as PCIE_MSG_TYPE_R_RC and
PCIE_MSG_CODE_ASSERT_INTA, respectively.

Remove the driver-specific definitions in favor of the core definitions
instead. This aligns the driver with the PCIe specification and reduces
maintenance overhead.

Signed-off-by: Hans Zhang <18255117159@163.com>
[mani: commit message rewording]
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Link: https://patch.msgid.link/20250607154913.805027-3-18255117159@163.com
drivers/pci/controller/pcie-rockchip.h