watchdog: s3c2410_wdt: Check return value of clk_prepare_enable
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 4 Mar 2014 09:34:35 +0000 (15:04 +0530)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 31 Mar 2014 11:33:16 +0000 (13:33 +0200)
commit01b6af91593629224490b76c4bf4b0eb8cfbfb31
tree8ca8edc9c6b9ede3359aa72b16d0ec8a14f8e918
parenta94dd879e2939798294c56468add3d6a8ef04137
watchdog: s3c2410_wdt: Check return value of clk_prepare_enable

clk_prepare_enable can fail. Check its return value.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/s3c2410_wdt.c