watchdog: coh901327_wdt: use clk_prepare/unprepare
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 12 Jun 2012 17:19:01 +0000 (19:19 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 23 Jul 2012 10:46:49 +0000 (12:46 +0200)
commitc362cb597b5c30a32f4228136e0dfd9bf4c5d65b
tree6c9aa0dac7dd924e14c2e7214a220d1c21f49031
parent3017020dc73a3ae222db2cda9b5952f0e4cf7a09
watchdog: coh901327_wdt: use clk_prepare/unprepare

Make sure we prepare/unprepare the COH901327 watchdog timer
as is required by the clk API especially if you use common
clock.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by : Pankaj Jangra <jangra.pankaj9@gmail.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/coh901327_wdt.c