summaryrefslogtreecommitdiff
path: root/drivers/interconnect/qcom/sm8450.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/interconnect/qcom/sm8450.c')
-rw-r--r--drivers/interconnect/qcom/sm8450.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/interconnect/qcom/sm8450.c b/drivers/interconnect/qcom/sm8450.c
index e821fd0b2f66..e3a12e3d6e06 100644
--- a/drivers/interconnect/qcom/sm8450.c
+++ b/drivers/interconnect/qcom/sm8450.c
@@ -1933,7 +1933,9 @@ static int qnoc_remove(struct platform_device *pdev)
struct qcom_icc_provider *qp = platform_get_drvdata(pdev);
icc_nodes_remove(&qp->provider);
- return icc_provider_del(&qp->provider);
+ icc_provider_del(&qp->provider);
+
+ return 0;
}
static const struct of_device_id qnoc_of_match[] = {