]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-max8997: use devm_rtc_device_register()
authorJingoo Han <jg1.han@samsung.com>
Tue, 26 Mar 2013 23:25:26 +0000 (10:25 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Apr 2013 06:12:40 +0000 (17:12 +1100)
commit74e79f448ebc72e9cbc228b0634d88d235bb5244
tree2c999d9ffa14b79301aaee524dc77f498da69fc4
parent45b3297652017d1e89cad8b79379fd2474412b78
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