diff mbox

clk: at91: fix clk-generated compilation

Message ID 20170604220257.21098-1-alexandre.belloni@free-electrons.com (mailing list archive)
State Accepted
Delegated to: Stephen Boyd
Headers show

Commit Message

Alexandre Belloni June 4, 2017, 10:02 p.m. UTC
Fix missing }

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---

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(+)

Comments

Stephen Boyd June 5, 2017, 7:56 p.m. UTC | #1
On 06/05, Alexandre Belloni wrote:
> Fix missing }
> 
> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> ---

Applied to clk-next
diff mbox

Patch

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;
 }