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