rtc: rtc-imxdi: use devm_clk_get()
authorJingoo Han <jg1.han@samsung.com>
Fri, 22 Feb 2013 00:45:35 +0000 (16:45 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 22 Feb 2013 01:22:30 +0000 (17:22 -0800)
commit9510853cfde2223ef39b4a7fbbb7fb100d780661
tree4fc5285cd8032e498d50bd9177bf6b28b8f6c227
parentee4433573b02f817c3ac62ed8f07027938dc9201
rtc: rtc-imxdi: use devm_clk_get()

Use devm_clk_get() to make cleanup paths more simple.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-imxdi.c