commit | c4fc2ebcbf762a1fe827931d670452aa27abef00 | [log] [tgz] |
---|---|---|
author | Elise Lennion <elise.lennion@gmail.com> | Wed Oct 12 14:14:14 2016 -0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Oct 16 10:27:23 2016 +0200 |
tree | d9470f9d2742a852f3472daec0cf41e1fcfc482f | |
parent | 9d3318f48ce383cdd261719f4fa95c979bdd7ce4 [diff] |
staging: greybus: camera: Use kcalloc for array's memory allocation. Fix checkpatch warning: WARNING: Prefer kcalloc over kzalloc with multiply kcalloc is designed to allocate memory for arrays, its use is preferable than kzalloc in these cases. Signed-off-by: Elise Lennion <elise.lennion@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>