clk: shmobile: Free 'clock' on error path
authorStephen Boyd <sboyd@codeaurora.org>
Thu, 25 Feb 2016 20:18:25 +0000 (12:18 -0800)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 25 Feb 2016 20:25:31 +0000 (12:25 -0800)
commit73f3f1382501a260a88801e3322ae6f3cf45c2fe
treeb9d52b131d86011a45b9a37ddc52a432ee28eb8e
parentc7f23180c6025fc93d1b743a49a97c4bb0c26f19
clk: shmobile: Free 'clock' on error path

We forgot to free this clock when we return early in this code.

Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/shmobile/renesas-cpg-mssr.c