From: Srinivas Kandagatla Date: Sun, 16 Sep 2018 23:45:45 +0000 (-0700) Subject: slimbus: ngd: return proper error code instead of zero X-Git-Tag: v4.20-rc1~107^2~120 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=9652e6aa62a1836494ebb8dbd402587c083b568c;p=uclinux-h8%2Flinux.git 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 Signed-off-by: Greg Kroah-Hartman --- 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)