From: Fabio Estevam Date: Fri, 5 Oct 2012 00:14:09 +0000 (-0700) Subject: rtc: rtc-mxc: adapt to the new i.mx clock framework X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~12^2~87 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f3cde536d5015a918c4b3fd55fbe335428096e5;p=pandora-kernel.git 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 Acked-by: Sascha Hauer Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed