aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorDevendra Naga <devendra.aaru@gmail.com>2012-06-19 21:52:38 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-20 16:07:07 -0700
commit42ad4a8da587792df050748cadfb433cd67a1cad (patch)
treef1600809aa18da3da53ec2cdcb642fcf4fa86278 /include/linux
parentstaging/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/linux')
0 files changed, 0 insertions, 0 deletions