drm/exynos: use drm_calloc_large when allocates pointer array
authorYoungJun Cho <yj44.cho@samsung.com>
Wed, 3 Jul 2013 08:09:19 +0000 (17:09 +0900)
committerInki Dae <inki.dae@samsung.com>
Thu, 4 Jul 2013 06:55:36 +0000 (15:55 +0900)
commitaf51a5e7068826fe5016ab38149243bacc449233
treeb387c89a69f668218497bc3500cbaa19cfe30120
parentba3706c0f19ab77593b8b3be6649746ac56905d3
drm/exynos: use drm_calloc_large when allocates pointer array

If the type of object is pointer array, the drm_calloc_large() is
more suitable than kzalloc() for its allocation function. And uses
drm_free_large() instead of kfree() also.

Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_buf.c
drivers/gpu/drm/exynos/exynos_drm_g2d.c