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: Karthik Tummala <karthik@techveda.org>
Reviewed-by: Rui Miguel Silva <rmfrfs@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Changes for v2:
- Changed subject line & fixed typo as suggested by
  Rui Miguel Silva
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        light->channels_count = conf.channel_count;
        light->name = kstrndup(conf.name, NAMES_MAX, GFP_KERNEL);
 
-       light->channels = kzalloc(light->channels_count *
+       light->channels = kcalloc(light->channels_count,
                                  sizeof(struct gb_channel), GFP_KERNEL);
        if (!light->channels)
                return -ENOMEM;
        if (ret < 0)
                goto out;
 
-       glights->lights = kzalloc(glights->lights_count *
+       glights->lights = kcalloc(glights->lights_count,
                                  sizeof(struct gb_light), GFP_KERNEL);
        if (!glights->lights) {
                ret = -ENOMEM;