git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b10c0b9
)
staging/ft1000: use kzalloc to allocate the ft1000_device structure
author
Devendra Naga
<devendra.aaru@gmail.com>
Tue, 19 Jun 2012 16:22:38 +0000
(21:52 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 20 Jun 2012 23:07:07 +0000
(16:07 -0700)
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>
No differences found