Commit 932980ed authored by Srinivas Kandagatla's avatar Srinivas Kandagatla Committed by Greg Kroah-Hartman

slimbus: ngd: return proper error code instead of zero

[ Upstream commit 9652e6aa ]

It looks like there is a typo in probe return. Fix it.
Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 9874abd5
...@@ -1393,7 +1393,7 @@ static int qcom_slim_ngd_probe(struct platform_device *pdev) ...@@ -1393,7 +1393,7 @@ static int qcom_slim_ngd_probe(struct platform_device *pdev)
if (ctrl->mwq) if (ctrl->mwq)
destroy_workqueue(ctrl->mwq); destroy_workqueue(ctrl->mwq);
return 0; return ret;
} }
static int qcom_slim_ngd_ctrl_probe(struct platform_device *pdev) static int qcom_slim_ngd_ctrl_probe(struct platform_device *pdev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment