]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-ds1672: 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)
commit6159000d6f792c0cb0861b7d959034963a332e03
tree549192a5ceb0a62e73e9e5386ecc047f14c67f24
parenta0b1f3663753f287087a60da7b3bfbd0f0b11cf5
rtc: rtc-ds1672: 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-ds1672.c