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