staging/ft1000: use kzalloc to allocate the ft1000_device structure
authorDevendra Naga <devendra.aaru@gmail.com>
Tue, 19 Jun 2012 16:22:38 +0000 (21:52 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Jun 2012 23:07:07 +0000 (16:07 -0700)
commit42ad4a8da587792df050748cadfb433cd67a1cad
treef1600809aa18da3da53ec2cdcb642fcf4fa86278
parentb10c0b92caf97e0d7f1d76996f73bf07a719aa3e
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>
drivers/staging/ft1000/ft1000-usb/ft1000_usb.c