drivers/rtc/rtc-coh901331.c: use clk_prepare/unprepare
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 30 Jul 2012 21:41:31 +0000 (14:41 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 31 Jul 2012 00:25:17 +0000 (17:25 -0700)
commit8384dfeb759acac48ea24b81f134cac3cbb3e6fc
treeef92b0e32ee3af97196ab3245623fbe5f0dc8c9e
parent261eba73353edd48b0c0cb7aad59553dfc712ebc
drivers/rtc/rtc-coh901331.c: use clk_prepare/unprepare

Make sure we prepare/unprepare the clock for the COH901331 RTC driver as
is required by the clk API especially if you use common clock.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-coh901331.c