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