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