clk: at91: sckc: improve error path for sam9x5 sck register
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Thu, 27 Jun 2019 15:53:42 +0000 (18:53 +0300)
committerStephen Boyd <sboyd@kernel.org>
Thu, 27 Jun 2019 18:18:19 +0000 (11:18 -0700)
commit82e25dc8f6bef3e08d7b58720f8812c12f2e3a89
treefc58bd491587a0f48778e3785b4eee064b350956
parent016d22dd10eac723815adb6befdbf265a76d2383
clk: at91: sckc: improve error path for sam9x5 sck register

Improve error path for sam9x5 slow clock registration.

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