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