]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-lpc32xx: use devm_rtc_device_register()
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Mar 2013 04:08:04 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Mar 2013 04:23:11 +0000 (15:23 +1100)
commitbf6368cf9c41c75a271efcf89a078997d95aacc8
tree67b6e6fe5e77e85968f325ac6e5ac96d60c1a4ae
parentb094c2fcdd28981883a5c1e6abbb56fb1ec2a57c
rtc: rtc-lpc32xx: 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-lpc32xx.c