rtc: rtc-jz4740: use devm_*() functions
authorJingoo Han <jg1.han@samsung.com>
Wed, 3 Jul 2013 22:07:06 +0000 (15:07 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Jul 2013 23:07:55 +0000 (16:07 -0700)
commitc08ac4894c2079531f0310b1e9b7aba7a5b8b9be
tree8efd5afa9af4cf7d665ca369087937d03ec003a7
parentedca66d2ceae6ba426b9250ffcad5bca820b146f
rtc: rtc-jz4740: use devm_*() functions

Use devm_*() functions to make cleanup paths simpler.

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-jz4740.c