diff options
Diffstat (limited to 'drivers/input/keyboard')
-rw-r--r-- | drivers/input/keyboard/corgikbd.c | 2 |
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 | ||