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

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

Signed-off-by: Sachin Kamat <sachin.kamat@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-ds1305.c