]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-ds1511: 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>
Wed, 20 Mar 2013 04:23:10 +0000 (15:23 +1100)
commitf1448cc576bf5877bb3405ac8eb3eee6c7c4ed68
tree54a9c62c5d16c322d9311c9287ad511791aa43e4
parent796531ef1fc64642a15b35d42e0577728481ed67
rtc: rtc-ds1511: 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-ds1511.c