Skip to content
Commit 42ad4a8d authored by Devendra Naga's avatar Devendra Naga Committed by Greg Kroah-Hartman
Browse files

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: default avatarDevendra Naga <devendra.aaru@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b10c0b92
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment