From: Axel Lin Date: Thu, 5 Mar 2015 01:43:09 +0000 (+0800) Subject: phy: miphy28lp: Convert to devm_kcalloc and fix wrong sizof X-Git-Tag: omap-for-v4.2/o2_dc~276^2~5^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=018e6ff3c09f32b8743e06870c4dd6ed9a0b7ff5;p=pandora-kernel.git phy: miphy28lp: Convert to devm_kcalloc and fix wrong sizof Prefer devm_kcalloc over devm_kzalloc with multiply. In additional, use sizeof(phy) is incorrect, fix it. Signed-off-by: Axel Lin Acked-by: Gabriel Fernandez Signed-off-by: Kishon Vijay Abraham I --- Reading git-diff-tree failed