aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/keyboard
diff options
context:
space:
mode:
authorPekka Enberg <penberg@cs.helsinki.fi>2005-09-06 18:18:33 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-07 19:57:45 -0400
commita97e148a8b8da8b04bc3e18ceb824a8f5f56d567 (patch)
tree6839a014f4315988e4123e7de68ca35d5585ca09 /drivers/input/keyboard
parent874ca6cd3fb454f4dfafd2bbb6c6893303227c3f (diff)
[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/keyboard')
-rw-r--r--drivers/input/keyboard/corgikbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/corgikbd.c b/drivers/input/keyboard/corgikbd.c
index a8551711e8d6..7719bdfa9eea 100644
--- a/drivers/input/keyboard/corgikbd.c
+++ b/drivers/input/keyboard/corgikbd.c
@@ -260,7 +260,7 @@ static int __init corgikbd_probe(struct device *dev)
260 int i; 260 int i;
261 struct corgikbd *corgikbd; 261 struct corgikbd *corgikbd;
262 262
263 corgikbd = kcalloc(1, sizeof(struct corgikbd), GFP_KERNEL); 263 corgikbd = kzalloc(sizeof(struct corgikbd), GFP_KERNEL);
264 if (!corgikbd) 264 if (!corgikbd)
265 return -ENOMEM; 265 return -ENOMEM;
266 266