diff options
Diffstat (limited to 'drivers/input/joystick/grip_mp.c')
-rw-r--r-- | drivers/input/joystick/grip_mp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/joystick/grip_mp.c b/drivers/input/joystick/grip_mp.c index 0da7bd133ccf..da17eee6f574 100644 --- a/drivers/input/joystick/grip_mp.c +++ b/drivers/input/joystick/grip_mp.c | |||
@@ -607,7 +607,7 @@ static int grip_connect(struct gameport *gameport, struct gameport_driver *drv) | |||
607 | struct grip_mp *grip; | 607 | struct grip_mp *grip; |
608 | int err; | 608 | int err; |
609 | 609 | ||
610 | if (!(grip = kcalloc(1, sizeof(struct grip_mp), GFP_KERNEL))) | 610 | if (!(grip = kzalloc(sizeof(struct grip_mp), GFP_KERNEL))) |
611 | return -ENOMEM; | 611 | return -ENOMEM; |
612 | 612 | ||
613 | grip->gameport = gameport; | 613 | grip->gameport = gameport; |