clk: at91: do not leak resources
authorDavid Dueck <davidcdueck@googlemail.com>
Fri, 26 Jun 2015 13:30:22 +0000 (15:30 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 2 Jul 2015 16:51:50 +0000 (09:51 -0700)
commitc76a024e82bdb83a0f7d57e006f8e7f8ddf983e5
tree3fbd028af32dd69f1fea0a5fe36dd3c3db26ade8
parent15ab38273d21a45487116ad4c428593427954848
clk: at91: do not leak resources

Do not leak memory and free irqs in case of an error.

Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: David Dueck <davidcdueck@googlemail.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/at91/clk-h32mx.c
drivers/clk/at91/clk-main.c
drivers/clk/at91/clk-master.c
drivers/clk/at91/clk-pll.c
drivers/clk/at91/clk-system.c
drivers/clk/at91/clk-utmi.c