staging: ft1000: optimize kmalloc to kzalloc
authorAlexander Beregalov <a.beregalov@gmail.com>
Wed, 9 Mar 2011 00:53:37 +0000 (03:53 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 9 Mar 2011 23:54:32 +0000 (15:54 -0800)
commit2f4813163639f9f528c41d98ea52dcc85f8d9781
tree1d4c951d135cbc93a90ca631a3fee5a1c4658ad6
parent1840c15b0a504fed6ee08b475245a964336b76e6
staging: ft1000: optimize kmalloc to kzalloc

Use kzalloc rather than kmalloc followed by memset with 0.
Found by coccinelle.

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ft1000/ft1000-pcmcia/ft1000_cs.c