summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-06-05 00:02:57 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-13 19:48:32 +0200
commit2f9c90e7ad3314f5207d9fc6d069cc218303199a (patch)
treecf4c2da2497af948f4d58b68308f90a40188f040 /drivers
parentb4d93c6f89688a1e18fc1e4d8c089e163c1ce54f (diff)
downloadlinux-stable-2f9c90e7ad3314f5207d9fc6d069cc218303199a.tar.gz
linux-stable-2f9c90e7ad3314f5207d9fc6d069cc218303199a.tar.bz2
linux-stable-2f9c90e7ad3314f5207d9fc6d069cc218303199a.zip
clk: at91: fix clk-generated compilation
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/clk/at91/clk-generated.c1
1 files changed, 1 insertions, 0 deletions
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;
}