summaryrefslogtreecommitdiffstats
path: root/drivers/iio/industrialio-event.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2012-10-18 16:43:00 +0200
committerJonathan Cameron <jic23@kernel.org>2012-10-19 19:46:37 +0200
commit45259859492812c8b700ae1d157be01a8d2babfe (patch)
tree2e50aa19b1a1908502fd29dac2916299f3b60526 /drivers/iio/industrialio-event.c
parentiio: Don't compare boolean values to true/false (diff)
downloadlinux-45259859492812c8b700ae1d157be01a8d2babfe.tar.xz
linux-45259859492812c8b700ae1d157be01a8d2babfe.zip
iio: at91_adc: Use devm_kcalloc to allocate arrays
Use dev_kcalloc instead of devm_kzalloc to allocate arrays since it is semantically more appropriate. While we are at it the patch also fixes the following coccinelle warning: drivers/iio/adc/at91_adc.c:277:25-31: ERROR: application of sizeof to pointer Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-By: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/industrialio-event.c')
0 files changed, 0 insertions, 0 deletions