rtc: rtc-ab3100: use devm_rtc_device_register()
authorJingoo Han <jg1.han@samsung.com>
Mon, 29 Apr 2013 23:19:30 +0000 (16:19 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:29 +0000 (18:28 -0700)
commitef886c4d75f0872424f61815662dd37e84b2d34e
tree156259f4b5ca7a6f857bda87f4bf29d5ab247cec
parent198b8ec844ddbf254d9221815c74bb3465b215bc
rtc: rtc-ab3100: use devm_rtc_device_register()

devm_rtc_device_register() is device managed and makes cleanup paths
simpler.

Signed-off-by: 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-ab3100.c