IIO: adc: at91_adc.c Prefer kmalloc_array over kmalloc with multiply
authorNizam Haider <nizamhaider786@gmail.com>
Mon, 16 Nov 2015 00:05:57 +0000 (05:35 +0530)
committerJonathan Cameron <jic23@kernel.org>
Sun, 22 Nov 2015 12:06:19 +0000 (12:06 +0000)
commit3fba9b5ff837ed57a993e98245378c30911ab4ee
tree6b4c20201ce865b0736934bb3d891cbef29868b9
parent438f13a283e776957779e9beb0503100801ea84f
IIO: adc: at91_adc.c Prefer kmalloc_array over kmalloc with multiply

So this patch swaps that use out for kmalloc_array instead.

Signed-off-by Nizam Haider <nijamh@cdac.in>

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/at91_adc.c