]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-em3027: use devm_rtc_device_register()
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Mar 2013 04:08:15 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 22 Mar 2013 04:33:45 +0000 (15:33 +1100)
commitc4f335d39bb693433e3710ab48043f16d0e2e293
treec7ff718475c4b26aa81fa9d1da9e843e6532b3a1
parentf113a8d257d730d78eb5306f085cc1806071d42e
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