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