]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-ds1553: use devm_rtc_device_register()
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Mar 2013 04:08:03 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Mar 2013 04:23:10 +0000 (15:23 +1100)
commitbc82b93b08c2961a088e27989ff282cf141e6115
treedc0bf2a3992661a0a566f46aaa59c77f7f03843b
parentf1448cc576bf5877bb3405ac8eb3eee6c7c4ed68
rtc: rtc-ds1553: 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-ds1553.c