提交 9652e6aa 编写于 作者: S Srinivas Kandagatla 提交者: Greg Kroah-Hartman

slimbus: ngd: return proper error code instead of zero

It looks like there is a typo in probe return. Fix it.
Signed-off-by: NSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 1830dad3
......@@ -1389,7 +1389,7 @@ static int qcom_slim_ngd_probe(struct platform_device *pdev)
if (ctrl->mwq)
destroy_workqueue(ctrl->mwq);
return 0;
return ret;
}
static int qcom_slim_ngd_ctrl_probe(struct platform_device *pdev)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册