summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/interconnect/imx/imx.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/interconnect/imx/imx.c b/drivers/interconnect/imx/imx.c
index 48ffd59953bf..6d9f107ff227 100644
--- a/drivers/interconnect/imx/imx.c
+++ b/drivers/interconnect/imx/imx.c
@@ -330,7 +330,9 @@ int imx_icc_unregister(struct platform_device *pdev)
imx_icc_unregister_nodes(&imx_provider->provider);
- return icc_provider_del(&imx_provider->provider);
+ icc_provider_del(&imx_provider->provider);
+
+ return 0;
}
EXPORT_SYMBOL_GPL(imx_icc_unregister);