drm: Prefer kcalloc() over kzalloc() with multiply
authorThierry Reding <treding@nvidia.com>
Wed, 10 Dec 2014 12:03:35 +0000 (13:03 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 10 Dec 2014 13:13:24 +0000 (14:13 +0100)
commitbd3f0ff98a849e04dc2c0236f32cc75b8c8630db
treec6f37c1cdd7b71adda280928fe4c1ffd12c80082
parent4dfd909f92d623d79a23985526314bb31bdd110a
drm: Prefer kcalloc() over kzalloc() with multiply

Fixes a couple of checkpatch warnings regarding the use of kzalloc()
with a multiplication. kcalloc() is the preferred API.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_crtc.c