drivers/rtc/rtc-at32ap700x.c: use devm_* APIs
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 29 Apr 2013 23:20:28 +0000 (16:20 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:35 +0000 (18:28 -0700)
commitd64132ac0083d97f0a8b63f3c1759b2e9b5ed7b1
treea077c6cec5554addb9d0c5f784cedd142a517b57
parent3087b3d090d2fd3bc0c26c0dc6cbe49e493c7988
drivers/rtc/rtc-at32ap700x.c: use devm_* APIs

devm_* functions are device managed and make cleanup code simpler.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Hans-Christian Egtvedt <hcegtvedt@atmel.com>
Cc: 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-at32ap700x.c