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