]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-max77686.c: use devm_kzalloc()
authorJingoo Han <jg1.han@samsung.com>
Sun, 10 Mar 2013 10:54:58 +0000 (21:54 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 12 Mar 2013 03:56:37 +0000 (14:56 +1100)
commita2e7e63eb70273ac790a7016ec9a94a6fde5ab38
tree917f518f804deab06c2b9521399272bcc6da365e
parentfe76ff57153e31a6b917d658a13c43af6ebba970
drivers/rtc/rtc-max77686.c: use devm_kzalloc()

Use devm_kzalloc() to make cleanup paths more simple.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-max77686.c