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