[PATCH] clk: at91: fix clk-generated compilation
From: Alexandre Belloni
Date: Sun Jun 04 2017 - 18:03:52 EST
Fix missing }
Signed-off-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxxxxxxxxx>
---
When taken alone clk: at91: fix clk-generated parenting, didn't compile
properly. This was actually fixed by the next patch in the series (hence, it was
compiling and working locally. Sorry about that.
Feel free to squash this fix.
drivers/clk/at91/clk-generated.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/at91/clk-generated.c b/drivers/clk/at91/clk-generated.c
index 70474bd97a10..07c8f701e51c 100644
--- a/drivers/clk/at91/clk-generated.c
+++ b/drivers/clk/at91/clk-generated.c
@@ -266,6 +266,7 @@ at91_clk_register_generated(struct regmap *regmap, spinlock_t *lock,
if (ret) {
kfree(gck);
hw = ERR_PTR(ret);
+ }
return hw;
}
--
2.11.0