rtc: rtc-ds1307: use devm_*() functions
authorJingoo Han <jg1.han@samsung.com>
Wed, 3 Jul 2013 22:07:05 +0000 (15:07 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Jul 2013 23:07:54 +0000 (16:07 -0700)
commitedca66d2ceae6ba426b9250ffcad5bca820b146f
tree55eba0de94e2188f8c88abc476c45af5ea722bbb
parent812f147853a14812b260620b19e0764cdeb71b4c
rtc: rtc-ds1307: 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-ds1307.c