]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/mbcs.c
[PATCH] drivers: convert kcalloc to kzalloc
[linux-2.6-omap-h63xx.git] / drivers / char / mbcs.c
index 115dbb35334b031e71acaedff084402499a449a2..3fa64c63110864597f6fb5d32a3d40ebe0d84384 100644 (file)
@@ -750,7 +750,7 @@ static int mbcs_probe(struct cx_dev *dev, const struct cx_device_id *id)
 
        dev->soft = NULL;
 
-       soft = kcalloc(1, sizeof(struct mbcs_soft), GFP_KERNEL);
+       soft = kzalloc(sizeof(struct mbcs_soft), GFP_KERNEL);
        if (soft == NULL)
                return -ENOMEM;