diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2018-09-17 02:45:45 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-20 20:47:30 +0300 |
commit | 932980ed5b7735364366f746b4efecedd6b9aeb9 (patch) | |
tree | 4cccd11902a762fd9b1c093bdb539e8dc8fb368e /drivers/slimbus | |
parent | 9874abd5c8786572811517d170ff661476ac4047 (diff) | |
download | linux-932980ed5b7735364366f746b4efecedd6b9aeb9.tar.xz |
slimbus: ngd: return proper error code instead of zero
[ Upstream commit 9652e6aa62a1836494ebb8dbd402587c083b568c ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/slimbus')
-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 a9abde2f4088..e587be9064e7 100644 --- a/drivers/slimbus/qcom-ngd-ctrl.c +++ b/drivers/slimbus/qcom-ngd-ctrl.c @@ -1393,7 +1393,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) |