]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI: artpec6: Use common mode field in struct dw_pcie
authorHans Zhang <18255117159@163.com>
Fri, 1 May 2026 16:10:08 +0000 (00:10 +0800)
committerManivannan Sadhasivam <mani@kernel.org>
Fri, 15 May 2026 17:12:59 +0000 (22:42 +0530)
commit5d47f6aeffdf55524fb1130666057266a741e97e
treed83ffde735980a09857f5fe21473aa5c2946c0f1
parent3718315f58f8ad663cc9c0225e3a9f3fc365dc8c
PCI: artpec6: Use common mode field in struct dw_pcie

Remove the redundant mode field from struct artpec6_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-3-18255117159@163.com
drivers/pci/controller/dwc/pcie-artpec6.c