commit | 658c74cf3c98b1c9bc21e26731052db66251dfd8 | [log] [tgz] |
---|---|---|
author | Rakib Mullick <rakib.mullick@gmail.com> | Thu May 26 16:25:56 2011 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu May 26 17:12:37 2011 -0700 |
tree | 9fecd1f438aa8fec724bf4ff2d8927c322da7f13 | |
parent | 074127367a503de0168e2ca5d0b36a6f761f026a [diff] |
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>