]> 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>
Wed, 20 Mar 2013 04:23:12 +0000 (15:23 +1100)
commit22f4f91e2dbf710bc7f7b1909ff73a4c2fa94396
treea6419fe25cfa70d1cad849e84a9ceb7203e51ff3
parent6d5e7713aca3ebc956799c418ed5b362e40d1806
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