aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/pci-host-common.c
diff options
context:
space:
mode:
authorHans Zhang <[email protected]>2025-05-10 16:07:10 +0000
committerManivannan Sadhasivam <[email protected]>2025-05-13 09:16:48 +0000
commit1a176b25f5d6f00c6c44729c006379b9a6dbc703 (patch)
tree4601cc96b44b471182c60d1cd1373cbf582520b3 /drivers/pci/controller/pci-host-common.c
parentPCI: mobiveil: Return bool from link up check (diff)
downloadkernel-1a176b25f5d6f00c6c44729c006379b9a6dbc703.tar.gz
kernel-1a176b25f5d6f00c6c44729c006379b9a6dbc703.zip
PCI: cadence: Simplify J721e link status check
Replace explicit if-else condition with direct return statement in j721e_pcie_link_up(). This reduces code verbosity while maintaining the same logic for detecting PCIe link completion. Signed-off-by: Hans Zhang <[email protected]> Signed-off-by: Manivannan Sadhasivam <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]> Reviewed-by: Niklas Cassel <[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