提交 932980ed 编写于 作者: S Srinivas Kandagatla 提交者: Greg Kroah-Hartman

slimbus: ngd: return proper error code instead of zero

[ Upstream commit 9652e6aa62a1836494ebb8dbd402587c083b568c ]

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>
Signed-off-by: NSasha Levin <sashal@kernel.org>
上级 9874abd5
......@@ -1393,7 +1393,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.
先完成此消息的编辑!
想要评论请 注册