diff options
| author | Jim Quinlan <[email protected]> | 2024-08-15 22:57:17 +0000 |
|---|---|---|
| committer | Krzysztof Wilczyński <[email protected]> | 2024-09-04 12:20:22 +0000 |
| commit | 64706ba771f5e8f05b26a1293beed23e83a81b25 (patch) | |
| tree | fc3ae94f408a5bfceb5f4dec05489519a8874b1e /drivers/pci/controller/dwc/pcie-qcom-common.c | |
| parent | dt-bindings: PCI: brcm,stb-pcie: Add 7712 SoC description (diff) | |
| download | kernel-64706ba771f5e8f05b26a1293beed23e83a81b25.tar.gz kernel-64706ba771f5e8f05b26a1293beed23e83a81b25.zip | |
PCI: brcmstb: Use common error handling code in brcm_pcie_probe()
Refactor the error handling in the bottom half of the probe function
for readability.
The invocation of clk_prepare_enable() is moved lower in the function
and this simplifies a couple of return paths. The dev_err_probe() is
also used when it is apt.
Link: https://lore.kernel.org/linux-pci/[email protected]
Signed-off-by: Jim Quinlan <[email protected]>
[kwilczynski: commit log]
Signed-off-by: Krzysztof Wilczyński <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-qcom-common.c')
0 files changed, 0 insertions, 0 deletions
