diff options
| author | 2012-10-04 17:14:09 -0700 | |
|---|---|---|
| committer | 2012-10-06 03:05:04 +0900 | |
| commit | 0f3cde536d5015a918c4b3fd55fbe335428096e5 (patch) | |
| tree | 35cab5c76c4808d0c5c9f169e081e85d5bd76038 /drivers/rtc/class.c | |
| parent | drivers/rtc/rtc-coh901331.c: use clk_prepare_enable() and clk_disable_unprepare() (diff) | |
| download | wireguard-linux-0f3cde536d5015a918c4b3fd55fbe335428096e5.tar.xz wireguard-linux-0f3cde536d5015a918c4b3fd55fbe335428096e5.zip | |
rtc: rtc-mxc: adapt to the new i.mx clock framework
i.mx drivers should use clk_prepare_enable/clk_disable_unprepare() in
order to avoid clk warnings.
While at it, convert to devm_clk_get() since other devm_ functions are
used in this driver and it can also save some clk_put() calls.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
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>
Diffstat (limited to 'drivers/rtc/class.c')
0 files changed, 0 insertions, 0 deletions
