diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2005-09-07 00:18:33 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-08 01:57:45 +0200 |
commit | a97e148a8b8da8b04bc3e18ceb824a8f5f56d567 (patch) | |
tree | 6839a014f4315988e4123e7de68ca35d5585ca09 /drivers/input/joystick/db9.c | |
parent | [PATCH] PPC64: convert kcalloc to kzalloc (diff) | |
download | linux-a97e148a8b8da8b04bc3e18ceb824a8f5f56d567.tar.xz linux-a97e148a8b8da8b04bc3e18ceb824a8f5f56d567.zip |
[PATCH] input: 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>
Cc: Vojtech Pavlik <vojtech@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/input/joystick/db9.c')
-rw-r--r-- | drivers/input/joystick/db9.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/joystick/db9.c b/drivers/input/joystick/db9.c index fbd3eed07f90..2a3e4bb2da50 100644 --- a/drivers/input/joystick/db9.c +++ b/drivers/input/joystick/db9.c @@ -572,7 +572,7 @@ static struct db9 __init *db9_probe(int *config, int nargs) } } - if (!(db9 = kcalloc(1, sizeof(struct db9), GFP_KERNEL))) { + if (!(db9 = kzalloc(sizeof(struct db9), GFP_KERNEL))) { parport_put_port(pp); return NULL; } |