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