clk: at91: fix clk-generated compilation
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sun, 4 Jun 2017 22:02:57 +0000 (00:02 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Mon, 5 Jun 2017 19:56:47 +0000 (12:56 -0700)
Fix missing }

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/at91/clk-generated.c

index 70474bd97a10de8887e0b803d6d50d196d899a0b..07c8f701e51c6f3d032f3aaf1971a9dc1ae6b736 100644 (file)
@@ -266,6 +266,7 @@ at91_clk_register_generated(struct regmap *regmap, spinlock_t *lock,
        if (ret) {
                kfree(gck);
                hw = ERR_PTR(ret);
+       }
 
        return hw;
 }