Commit 85865e8
remoteproc: qcom_q6v5_adsp: Simplify with dev_err_probe()
Use dev_err_probe() to make error and defer code handling simpler.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241011-remote-proc-dev-err-probe-v1-5-5abb4fc61eca@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>1 parent 8a47704 commit 85865e8
1 file changed
+6
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
534 | 534 | | |
535 | 535 | | |
536 | 536 | | |
537 | | - | |
| 537 | + | |
538 | 538 | | |
539 | 539 | | |
540 | | - | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
| 540 | + | |
| 541 | + | |
546 | 542 | | |
547 | 543 | | |
548 | 544 | | |
| |||
708 | 704 | | |
709 | 705 | | |
710 | 706 | | |
711 | | - | |
712 | | - | |
713 | | - | |
714 | | - | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
715 | 710 | | |
716 | 711 | | |
717 | 712 | | |
| |||
0 commit comments