treewide: kzalloc() -> kcalloc()
[linux-2.6-block.git] / drivers / mfd / timberdale.c
index cd4a6d7d6750e8dabcb48518afc20518f471bb8c..05ecf828b2ab241331a926186747a2c1005567b0 100644 (file)
@@ -707,8 +707,8 @@ static int timb_probe(struct pci_dev *dev,
                goto err_config;
        }
 
-       msix_entries = kzalloc(TIMBERDALE_NR_IRQS * sizeof(*msix_entries),
-               GFP_KERNEL);
+       msix_entries = kcalloc(TIMBERDALE_NR_IRQS, sizeof(*msix_entries),
+                              GFP_KERNEL);
        if (!msix_entries)
                goto err_config;
 
@@ -777,7 +777,7 @@ static int timb_probe(struct pci_dev *dev,
                        &dev->resource[0], msix_entries[0].vector, NULL);
                break;
        default:
-               dev_err(&dev->dev, "Uknown IP setup: %d.%d.%d\n",
+               dev_err(&dev->dev, "Unknown IP setup: %d.%d.%d\n",
                        priv->fw.major, priv->fw.minor, ip_setup);
                err = -ENODEV;
                goto err_mfd;