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