Le 18/10/2012 16:43, Lars-Peter Clausen a écrit : > 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@xxxxxxxxxx> Acked-By: Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx> -- Maxime Ripard, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html