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

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

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Srikanth Srinivasan <srikanth.srinivasan@freescale.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-ds3232.c