]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-88pm80x: use devm_rtc_device_register()
authorJingoo Han <jg1.han@samsung.com>
Tue, 26 Mar 2013 23:25:22 +0000 (10:25 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Apr 2013 06:12:38 +0000 (17:12 +1100)
commitd291c040efe86fad5a7783ab1932a196a2bee24b
tree75349c8e5a5911ddbf17edcd8b2ac063f559754b
parent64d5f84f1bdabc5307b4441cc1999a9721d2d285
rtc: rtc-88pm80x: 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-88pm80x.c