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