diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2018-09-16 16:45:45 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-25 20:21:02 +0200 |
commit | 9652e6aa62a1836494ebb8dbd402587c083b568c (patch) | |
tree | c2487afed9689601f82402a0b56e7b4d86750fc0 | |
parent | 1830dad34c070161fda2ff1db77b39ffa78aa380 (diff) |
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>
-rw-r--r-- | drivers/slimbus/qcom-ngd-ctrl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/slimbus/qcom-ngd-ctrl.c b/drivers/slimbus/qcom-ngd-ctrl.c index f872166f8614..ef5eb9e750c2 100644 --- a/drivers/slimbus/qcom-ngd-ctrl.c +++ b/drivers/slimbus/qcom-ngd-ctrl.c @@ -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) |