drivers: gpu: drm: gma500: Replaced calls kzalloc & memcpy with kmemdup
authorAlexandru Gheorghiu <gheorghiuandru@gmail.com>
Mon, 11 Mar 2013 19:46:14 +0000 (21:46 +0200)
committerPatrik Jakobsson <patrik.r.jakobsson@gmail.com>
Wed, 13 Mar 2013 21:37:32 +0000 (22:37 +0100)
commitbc6a541941df6e05b0c53133537ce4cf31336c3f
tree701aaa1bfb41648faf86c70c1f3771dd3ca2587b
parent72c0493ceb88ec9774ee4fa3f37fd19096fb7870
drivers: gpu: drm: gma500: Replaced calls kzalloc & memcpy with kmemdup

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

Signed-off-by: Alexandru Gheorghiu <gheorghiuandru@gmail.com>
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
drivers/gpu/drm/gma500/intel_bios.c