staging/omapdrm: Use kmemdup rather than duplicating its implementation
authorPeter Huewe <peterhuewe@gmx.de>
Fri, 25 Jan 2013 23:40:13 +0000 (00:40 +0100)
committerRob Clark <robdclark@gmail.com>
Sat, 16 Feb 2013 22:38:05 +0000 (17:38 -0500)
Found with coccicheck.
The semantic patch that makes this change is available
in scripts/coccinelle/api/memdup.cocci.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Rob Clark <rob@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/omapdrm/omap_gem.c

Simple merge