drm: Prefer kmalloc_array() over kmalloc() with multiply
authorThierry Reding <treding@nvidia.com>
Wed, 10 Dec 2014 12:03:36 +0000 (13:03 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 10 Dec 2014 13:13:40 +0000 (14:13 +0100)
Fixes a couple of checkpatch warnings regarding the use of kmalloc()
with a multiplication. kmalloc_array() 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

Simple merge