clk: at91: sckc: use dedicated functions to unregister clock
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Thu, 27 Jun 2019 15:53:45 +0000 (18:53 +0300)
committerStephen Boyd <sboyd@kernel.org>
Thu, 27 Jun 2019 18:18:21 +0000 (11:18 -0700)
commitecbcc2aa655744363647b91dee09096918e41eaf
tree0e27bd4fc3ef1dc45b9c99c9dd108d9b303e2007
parentd09e6ca1381fee498f3fd0431800617daffb8fd4
clk: at91: sckc: use dedicated functions to unregister clock

Use at91 specific functions to free all resources in case of error.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/at91/sckc.c