treewide: devm_kzalloc() -> devm_kcalloc()
[linux-2.6-microblaze.git] / drivers / regulator / bcm590xx-regulator.c
index 9dd7154..92d6d7b 100644 (file)
@@ -383,8 +383,10 @@ static int bcm590xx_probe(struct platform_device *pdev)
 
        platform_set_drvdata(pdev, pmu);
 
-       pmu->desc = devm_kzalloc(&pdev->dev, BCM590XX_NUM_REGS *
-                       sizeof(struct regulator_desc), GFP_KERNEL);
+       pmu->desc = devm_kcalloc(&pdev->dev,
+                                BCM590XX_NUM_REGS,
+                                sizeof(struct regulator_desc),
+                                GFP_KERNEL);
        if (!pmu->desc)
                return -ENOMEM;