]> git.ipfire.org Git - thirdparty/linux.git/commit
PCI: keembay: Use common mode field in struct dw_pcie
authorHans Zhang <18255117159@163.com>
Fri, 1 May 2026 16:10:10 +0000 (00:10 +0800)
committerManivannan Sadhasivam <mani@kernel.org>
Fri, 15 May 2026 17:13:08 +0000 (22:43 +0530)
commitf02459d0342f94fbbc6296fca0f221783d3a37de
tree5e70ee0bdb493dc309c2d2141ae51f2f1fc86c12
parenta8bf471f87f4c5c180641a2c6f7d82b1aa0f61fd
PCI: keembay: Use common mode field in struct dw_pcie

Remove the redundant mode field from struct keembay_pcie and use the
existing mode field in struct dw_pcie instead.

This avoids duplication and prevents potential inconsistencies between
the two mode fields.

Signed-off-by: Hans Zhang <18255117159@163.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Reviewed-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20260501161010.71688-5-18255117159@163.com
drivers/pci/controller/dwc/pcie-keembay.c