staging: csr: replace calls to kmalloc and memset with kzalloc
authorDevendra Naga <devendra.aaru@gmail.com>
Tue, 4 Sep 2012 19:26:44 +0000 (00:56 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Sep 2012 21:35:05 +0000 (14:35 -0700)
commit7cd4e8c577bf6e927da70529553bf65b4240d8a8
tree5ba499ab08150e56668b8bcfcb33a419621d98f0
parent6f6ed3db33720276068d70c17ce305e4132a123f
staging: csr: replace calls to kmalloc and memset with kzalloc

the kzalloc does allocates memory and sets the data at the memory
which is allocated to 0,

The driver does uses the kmalloc and memset at some points in the code
replace them with a single call to kzalloc

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Acked-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/csr/sme_sys.c