rtc: rtc-m48t59: use devm_*() functions
authorJingoo Han <jg1.han@samsung.com>
Wed, 3 Jul 2013 22:07:08 +0000 (15:07 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Jul 2013 23:07:55 +0000 (16:07 -0700)
commit19b8d8875fd5f231135a55bfe53337859ec73a4a
tree0e6a2558763ba6fcd1501143b1881dab515d0df4
parent073bf424602992427e3dbf83a1dca47ed119326a
rtc: rtc-m48t59: 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-m48t59.c