drivers/char/mspec.c: use {k,v}zalloc to allocate memory
authorRakib Mullick <rakib.mullick@gmail.com>
Thu, 26 May 2011 23:25:56 +0000 (16:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 27 May 2011 00:12:37 +0000 (17:12 -0700)
commit658c74cf3c98b1c9bc21e26731052db66251dfd8
tree9fecd1f438aa8fec724bf4ff2d8927c322da7f13
parent074127367a503de0168e2ca5d0b36a6f761f026a
drivers/char/mspec.c: use {k,v}zalloc to allocate memory

Let memory allocator initialize the allocated memory as null, thus remove
the use of memset.

Signed-off-by: Rakib Mullick <rakib.mullick@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/mspec.c