]> 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>
Fri, 22 Mar 2013 04:33:38 +0000 (15:33 +1100)
commit120cabcd62b5c2617051ca2024468784d62760da
treee41a732fb35c3c11e336e9a5d414395deb0f2a78
parent7f7219ad5af5a280634dc46d0dac0395875c29fb
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