rtc: rtc-max8998: use devm_*() functions
authorJingoo Han <jg1.han@samsung.com>
Mon, 29 Apr 2013 23:20:43 +0000 (16:20 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:37 +0000 (18:28 -0700)
commit8925e31a9c8b12c74e4cfdc61447ed40caccb11b
treee4d61f9d46166e93b48ad3334f792957d4b762d0
parent4ebabb78e46d1bc3e8ddaa8b6b88a41142756f4b
rtc: rtc-max8998: 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-max8998.c