Revert "iio: at91_adc: Use devm_kcalloc to allocate arrays"
authorAxel Lin <axel.lin@ingics.com>
Mon, 29 Oct 2012 08:25:00 +0000 (08:25 +0000)
committerJonathan Cameron <jic23@kernel.org>
Wed, 31 Oct 2012 10:56:28 +0000 (10:56 +0000)
commit6b3aa3131a7804640e7589e5629036f660362f0b
tree3aa72aabc60c2143926e51aeb84dd3e9b8d42d9e
parent2b0c856ad9571013db8fc369194b7108dff3c18e
Revert "iio: at91_adc: Use devm_kcalloc to allocate arrays"

This reverts commit 45259859492812c8b700ae1d157be01a8d2babfe.
This fixes build error because devm_kcalloc does not exist in current tree.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/at91_adc.c