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