diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2012-10-04 17:14:09 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-06 03:05:04 +0900 |
commit | 0f3cde536d5015a918c4b3fd55fbe335428096e5 (patch) | |
tree | 35cab5c76c4808d0c5c9f169e081e85d5bd76038 /arch | |
parent | 828296debf7853752e47b6abfa608ab0172e53ec (diff) |
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 'arch')
0 files changed, 0 insertions, 0 deletions