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