1
0
Fork 0

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>
hifive-unleashed-5.1
Srinivas Kandagatla 2018-09-16 16:45:45 -07:00 committed by Greg Kroah-Hartman
parent 1830dad34c
commit 9652e6aa62
1 changed files with 1 additions and 1 deletions

View File

@ -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)