summaryrefslogtreecommitdiffstats
path: root/drivers/video/wmt_ge_rops.c
diff options
context:
space:
mode:
authorSilviu-Mihai Popescu <silviupopescu1990@gmail.com>2013-03-11 17:39:22 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-25 18:42:06 +0100
commit2451a84839187cd9d150ff1bfac4f5febbcce7a6 (patch)
tree85b69835c9a8dab587e9f60b01422ed4f318a8a9 /drivers/video/wmt_ge_rops.c
parentparport: amiga: use module_platform_driver_probe() (diff)
downloadlinux-2451a84839187cd9d150ff1bfac4f5febbcce7a6.tar.xz
linux-2451a84839187cd9d150ff1bfac4f5febbcce7a6.zip
parport: use kmemdup instead of kmalloc + memcpy
This replaces calls to kmalloc followed by memcpy with a single call to kmemdup. This was found via make coccicheck. Signed-off-by: Silviu-Mihai Popescu <silviupopescu1990@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/video/wmt_ge_rops.c')
0 files changed, 0 insertions, 0 deletions