Commit 9652e6aa authored by Srinivas Kandagatla's avatar Srinivas Kandagatla Committed by 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: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment