]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Replace kzalloc with kcalloc
authorHarsha Sharma <harshasharmaiitr@gmail.com>
Fri, 13 Oct 2017 07:37:47 +0000 (13:07 +0530)
committerSean Paul <seanpaul@chromium.org>
Fri, 13 Oct 2017 19:49:03 +0000 (15:49 -0400)
commit98ebee9e768fd976e28523701e267eb76029d698
treede2735560bc8dde5437866e619646c65d1a2b871
parent5adbfb4de8ebfb3077210176496af0d444ab2edd
drm: Replace kzalloc with kcalloc

Prefer kcalloc over kzalloc to allocate an array.
This patch fixes checkcpatch issue.

Signed-off-by: Harsha Sharma <harshasharmaiitr@gmail.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20171013073747.29877-1-harshasharmaiitr@gmail.com
Link: https://patchwork.freedesktop.org/patch/msgid/20171013073747.29877-1-harshasharmaiitr@gmail.com
drivers/gpu/drm/drm_crtc_helper.c
drivers/gpu/drm/drm_fb_helper.c
drivers/gpu/drm/drm_plane_helper.c