drivers/parport/share.c: use kzalloc
authorAlexandru Gheorghiu <gheorghiuandru@gmail.com>
Wed, 3 Jul 2013 22:09:09 +0000 (15:09 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Jul 2013 23:08:06 +0000 (16:08 -0700)
commitc32df4e182e5bf40edde45da247318986d3cbf91
tree332589694a6905bf75b3d0736a108120b91ed903
parent8da01af45e197110cbce84fb5ccb54645f051ac6
drivers/parport/share.c: use kzalloc

Replaced calls to kmalloc and memset with kzalloc.
Patch found using coccinelle.

Signed-off-by: Alexandru Gheorghiu <gheorghiuandru@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/parport/share.c