drm/i915/pmu: Use kcalloc instead of kzalloc
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 12 Jan 2018 17:03:40 +0000 (17:03 +0000)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 12 Jan 2018 17:40:29 +0000 (17:40 +0000)
commitdd5fec87efdd54db6870b5d24c1fd3cda94f4510
tree346e969629e2a06305c2fb7151146866b57fb571
parent4c501230846b99ad78435637500471caa77a65c8
drm/i915/pmu: Use kcalloc instead of kzalloc

kcalloc is preffered for allocating arrays.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180112170340.5387-2-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/i915_pmu.c