]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
drm/exynos: Replaced kzalloc & memcpy with kmemdup
authorAlexandru Gheorghiu <gheorghiuandru@gmail.com>
Mon, 11 Mar 2013 19:25:22 +0000 (21:25 +0200)
committerInki Dae <inki.dae@samsung.com>
Wed, 20 Mar 2013 10:09:10 +0000 (19:09 +0900)
commite2779e1698c7dbf36a02a9922d216b4db0e212b8
treee8c90189d9293f2bc93f96b1c17a4b4762106eb9
parent0f10cf1463c6fc02a9e85bf098ef3c215d94b1e3
drm/exynos: Replaced kzalloc & memcpy with kmemdup

Replaced calls to kzalloc followed by memcpy with call to kmemdup.
Patch found using coccinelle.

Signed-off-by: Alexandru Gheorghiu <gheorghiuandru@gmail.com>
Acked-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_vidi.c