]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/input/joystick/db9.c
[PATCH] input: convert kcalloc to kzalloc
[mirror_ubuntu-artful-kernel.git] / drivers / input / joystick / db9.c
index fbd3eed07f90403806e1bce3212781a638e35241..2a3e4bb2da507ef78f9cc33cf88b88e19d262fac 100644 (file)
@@ -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;
        }