[PATCH] input: convert kcalloc to kzalloc
[firefly-linux-kernel-4.4.55.git] / drivers / input / joystick / interact.c
index 9d3f8c38cb097391403f44846781a75d4c68d845..d7b3472bd686611a5e30276203ea42778b1ea199 100644 (file)
@@ -212,7 +212,7 @@ static int interact_connect(struct gameport *gameport, struct gameport_driver *d
        int i, t;
        int err;
 
-       if (!(interact = kcalloc(1, sizeof(struct interact), GFP_KERNEL)))
+       if (!(interact = kzalloc(sizeof(struct interact), GFP_KERNEL)))
                return -ENOMEM;
 
        interact->gameport = gameport;