]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-rv3029c2: use devm_rtc_device_register()
authorJingoo Han <jg1.han@samsung.com>
Tue, 26 Mar 2013 23:25:40 +0000 (10:25 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Apr 2013 06:12:48 +0000 (17:12 +1100)
commit3cadc20e4651cfa34f21f6623c78251d352b7ef4
treedf874efd4fe2e8099a34f27f8819f438cd991151
parentaeed698e95cf1bf61f83cca26b8122deabf9ecdf
rtc: rtc-rv3029c2: 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>
drivers/rtc/rtc-rv3029c2.c