Эх сурвалжийг харах

slimbus: ngd: return proper error code instead of zero

It looks like there is a typo in probe return. Fix it.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Srinivas Kandagatla 6 жил өмнө
parent
commit
9652e6aa62

+ 1 - 1
drivers/slimbus/qcom-ngd-ctrl.c

@@ -1389,7 +1389,7 @@ wq_err:
 	if (ctrl->mwq)
 		destroy_workqueue(ctrl->mwq);
 
-	return 0;
+	return ret;
 }
 
 static int qcom_slim_ngd_ctrl_probe(struct platform_device *pdev)