]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-dm355evm: use devm_rtc_device_register()
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Mar 2013 04:08:14 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 21 Mar 2013 05:34:19 +0000 (16:34 +1100)
commit6a3348d84e0bf1f38674f37f6b7515631f28ef2f
treef5d730b7021309f9a568785116682b820cc7eb96
parent625e40d51187cf7bfe8a51da247eccddf90a345d
rtc: rtc-dm355evm: 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-dm355evm.c