staging: iio: Use kcalloc instead of kzalloc
authorNavya Sri Nizamkari <navyasri.tech@gmail.com>
Tue, 10 Mar 2015 12:04:29 +0000 (17:34 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 15 Mar 2015 17:41:09 +0000 (18:41 +0100)
commit3637d77f5f3ce080e9a2c4f1435f7ce0f5a4ef48
tree74bcc1731127a6f452c924c78631055361cc8530
parent9ac04a878802a121caef6cc924931281b7091f03
staging: iio: Use kcalloc instead of kzalloc

This patch uses kcalloc instead of kzalloc function.
A coccinelle script was used to make this change.

Signed-off-by: Navya Sri Nizamkari <navyasri.tech@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/accel/lis3l02dq_ring.c