clk: at91: fix clk-generated compilation
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sun, 4 Jun 2017 22:02:57 +0000 (00:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Apr 2018 17:48:32 +0000 (19:48 +0200)
commit 4a5f06a01cfd1f7a9141bdb760bf5b68cca7f224 upstream.

Fix missing }

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Cc: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.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;
 }