]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-tps65910: use devm_rtc_device_register()
authorJingoo Han <jg1.han@samsung.com>
Sun, 10 Mar 2013 10:55:13 +0000 (21:55 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 12 Mar 2013 03:57:27 +0000 (14:57 +1100)
commitce43ff6c4e627a8e1fdb9ba1006592dbe3660ab3
tree40ca3dfd9f86b0ef77e0308f731bf9a568591fb9
parent7568226590b0282e5f2d749eafd829d343533d25
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