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