From: Mark Brown Date: Tue, 10 Jan 2012 23:10:44 +0000 (-0800) Subject: drivers/rtc/rtc-wm831x.c: convert to devm_kzalloc() X-Git-Tag: v3.3-rc1~113^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f85d20d04cdc4c6ed15022a5ed76907ad88d4ae;p=pandora-kernel.git drivers/rtc/rtc-wm831x.c: convert to devm_kzalloc() Marginally less code and eliminate the possibility of memory leaks. Signed-off-by: Mark Brown Acked-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed