]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite72fb687290f502e76fc8d2eb853a5ae4dfc2286
treeef92b0e32ee3af97196ab3245623fbe5f0dc8c9e
parentd5c664edb71229f3840536e96a98373582b2f657
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