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