treewide: devm_kzalloc() -> devm_kcalloc()
[sfrench/cifs-2.6.git] / sound / soc / mediatek / mt2701 / mt2701-afe-pcm.c
index 828d11c30c6a20f39acda7db3406611a5f747665..968fba4d75339922c398f0fb4d56556e0b9a8e5f 100644 (file)
@@ -1347,7 +1347,8 @@ static int mt2701_afe_pcm_dev_probe(struct platform_device *pdev)
        afe->dev = &pdev->dev;
        dev = afe->dev;
 
-       afe_priv->i2s_path = devm_kzalloc(dev, afe_priv->soc->i2s_num *
+       afe_priv->i2s_path = devm_kcalloc(dev,
+                                         afe_priv->soc->i2s_num,
                                          sizeof(struct mt2701_i2s_path),
                                          GFP_KERNEL);
        if (!afe_priv->i2s_path)