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