aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/pci-host-common.c
diff options
context:
space:
mode:
authorHans Zhang <[email protected]>2025-04-27 12:53:16 +0000
committerManivannan Sadhasivam <[email protected]>2025-04-27 14:12:50 +0000
commit5e5a3bf48eed8d90bc5c5b710466f24663231f0a (patch)
treed29b8556387ca65136bbc20eb7386d503200da7f /drivers/pci/controller/pci-host-common.c
parentPCI: dw-rockchip: Reorganize register and bitfield definitions (diff)
downloadkernel-5e5a3bf48eed8d90bc5c5b710466f24663231f0a.tar.gz
kernel-5e5a3bf48eed8d90bc5c5b710466f24663231f0a.zip
PCI: dw-rockchip: Use rockchip_pcie_link_up() to check link up instead of open coding
Some of the callers of rockchip_pcie_link_up() are open coding the rockchip_pcie_link_up() function, leading to code duplication. So switch them to use rockchip_pcie_link_up() function. Also, use the FIELD_GET() macro to simplify the link up check in rockchip_pcie_link_up(). Signed-off-by: Hans Zhang <[email protected]> [mani: subject and description rewording] Signed-off-by: Manivannan Sadhasivam <[email protected]> Reviewed-by: Niklas Cassel <[email protected]> Reviewed-by: Manivannan Sadhasivam <[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