diff options
| author | 2012-06-19 21:52:38 +0530 | |
|---|---|---|
| committer | 2012-06-20 16:07:07 -0700 | |
| commit | 42ad4a8da587792df050748cadfb433cd67a1cad (patch) | |
| tree | f1600809aa18da3da53ec2cdcb642fcf4fa86278 /include | |
| parent | staging/ft1000: Return -ENOMEM if kmalloc fails at ft1000_probe (diff) | |
staging/ft1000: use kzalloc to allocate the ft1000_device structure
with kzalloc the allocate memory is set to zero, so no need of
calling memset again on the allocated memory
Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
