From: Darshana Padmadas Date: Sat, 20 Sep 2014 13:00:19 +0000 (+0530) Subject: Staging: iio: adc: Fix warning prefer kmalloc_array over kmalloc X-Git-Tag: fixes-for-v3.18-merge-window~15^2~302 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b12d0ac20dd9084995d10e1ec5bd43b7ec90f41;p=pandora-kernel.git Staging: iio: adc: Fix warning prefer kmalloc_array over kmalloc This patch fixes the checkpatch warning: WARNING: Prefer kmalloc_array over kmalloc with multiply kmalloc_array is preffered for allocating for arrays. Signed-off-by: Darshana Padmadas Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed