drivers/rtc/rtc-sirfsoc.c: use devm_rtc_device_register
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 12 Nov 2013 23:10:31 +0000 (15:10 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:27 +0000 (12:09 +0900)
commit3d09162e9976d1ae79dd737849ca63ab6cff6df6
tree8161201fa75b591369ef4b4730e8c949a1f75397
parentadce8c14c9eaf8e184d9410f4a0bdfa8be07ee6f
drivers/rtc/rtc-sirfsoc.c: use devm_rtc_device_register

devm_rtc_device_register simplifies the code.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Xianglong Du <Xianglong.Du@csr.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-sirfsoc.c