summaryrefslogtreecommitdiff
path: root/drivers/clk/imx/clk-lpcg-scu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/imx/clk-lpcg-scu.c')
-rw-r--r--drivers/clk/imx/clk-lpcg-scu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/imx/clk-lpcg-scu.c b/drivers/clk/imx/clk-lpcg-scu.c
index 77be7632866d..dd5abd09f3e2 100644
--- a/drivers/clk/imx/clk-lpcg-scu.c
+++ b/drivers/clk/imx/clk-lpcg-scu.c
@@ -114,6 +114,7 @@ struct clk_hw *__imx_clk_lpcg_scu(struct device *dev, const char *name,
if (ret) {
kfree(clk);
hw = ERR_PTR(ret);
+ return hw;
}
if (dev)