diff options
author | Jim Quinlan <[email protected]> | 2024-08-15 18:57:17 -0400 |
---|---|---|
committer | Krzysztof Wilczyński <[email protected]> | 2024-09-04 12:20:22 +0000 |
commit | 64706ba771f5e8f05b26a1293beed23e83a81b25 (patch) | |
tree | fc3ae94f408a5bfceb5f4dec05489519a8874b1e /scripts/generate_rust_analyzer.py | |
parent | 56d020296a122f814b65f3fb5b3f90d7c4533042 (diff) |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions