[PATCH] drivers: convert kcalloc to kzalloc

This patch converts kcalloc(1, ...) calls to use the new kzalloc() function.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Pekka Enberg
2005-09-06 15:18:35 -07:00
committed by Linus Torvalds
parent 7b842b6e37
commit 82ca76b6b1
5 changed files with 5 additions and 5 deletions

View File

@ -1489,7 +1489,7 @@ static int isp1301_probe(struct i2c_adapter *bus, int address, int kind)
if (the_transceiver)
return 0;
isp = kcalloc(1, sizeof *isp, GFP_KERNEL);
isp = kzalloc(sizeof *isp, GFP_KERNEL);
if (!isp)
return 0;