diff options
author | Jim Quinlan <james.quinlan@broadcom.com> | 2024-08-15 18:57:17 -0400 |
---|---|---|
committer | Krzysztof Wilczyński <kwilczynski@kernel.org> | 2024-09-04 12:20:22 +0000 |
commit | 64706ba771f5e8f05b26a1293beed23e83a81b25 (patch) | |
tree | fc3ae94f408a5bfceb5f4dec05489519a8874b1e /tools/perf/scripts/python/task-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/20240815225731.40276-5-james.quinlan@broadcom.com
Signed-off-by: Jim Quinlan <james.quinlan@broadcom.com>
[kwilczynski: commit log]
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions