rtc: s3c: Handle clock enable failures
authorKrzysztof Kozlowski <krzk@kernel.org>
Fri, 16 Jun 2017 19:28:07 +0000 (21:28 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sat, 24 Jun 2017 20:52:43 +0000 (22:52 +0200)
commit498bcf313985c76c4572d8ce885a6480728d28f9
tree06e453a1f2528cfd9b801f7f877a38c4b7b2b1e2
parent9903f68af6ca9d9b25f5c50bfedd2e0cb899f848
rtc: s3c: Handle clock enable failures

clk_enable() can fail so handle such case.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-s3c.c