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