commit | 7cd4e8c577bf6e927da70529553bf65b4240d8a8 | [log] [tgz] |
---|---|---|
author | Devendra Naga <devendra.aaru@gmail.com> | Wed Sep 05 00:56:44 2012 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Sep 04 14:35:05 2012 -0700 |
tree | 5ba499ab08150e56668b8bcfcb33a419621d98f0 | |
parent | 6f6ed3db33720276068d70c17ce305e4132a123f [diff] |
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>