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