drivers/rtc/rtc-max8925.c: use devm_* APIs
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 29 Apr 2013 23:20:33 +0000 (16:20 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:36 +0000 (18:28 -0700)
commite035be6a551ea4a241784a0f3c53a7f2f2425ec4
treec0619c7134c589cf3234d0935732cd63755df5be
parent4f58cd9b4663ac52c8b019e78b0f4eae37da297e
drivers/rtc/rtc-max8925.c: use devm_* APIs

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

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Haojian Zhuang <haojian.zhuang@linaro.org>
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-max8925.c