Skip to content
Commit 3036d0e2 authored by Karthik Tummala's avatar Karthik Tummala Committed by Greg Kroah-Hartman
Browse files

Staging: greybus: light: Prefer kcalloc over kzalloc



Fixed following checkpatch.pl warning:
 * WARNING: Prefer kcalloc over kzalloc with multiply

Instead of specifying no.of bytes * size as argument
in kzalloc, prefer kcalloc.

Signed-off-by: default avatarKarthik Tummala <karthik@techveda.org>
Reviewed-by: default avatarRui Miguel Silva <rmfrfs@gmail.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>

Changes for v2:
- Changed subject line & fixed typo as suggested by
  Rui Miguel Silva
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 10000711
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment