diff options
-rw-r--r-- | drivers/clk/clk-si5351.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/clk-si5351.c b/drivers/clk/clk-si5351.c index b051db43fae1..a4c009e1e70d 100644 --- a/drivers/clk/clk-si5351.c +++ b/drivers/clk/clk-si5351.c | |||
@@ -1535,9 +1535,9 @@ static int si5351_i2c_probe(struct i2c_client *client, | |||
1535 | else | 1535 | else |
1536 | parent_names[1] = si5351_pll_names[1]; | 1536 | parent_names[1] = si5351_pll_names[1]; |
1537 | 1537 | ||
1538 | drvdata->msynth = devm_kzalloc(&client->dev, num_clocks * | 1538 | drvdata->msynth = devm_kcalloc(&client->dev, num_clocks, |
1539 | sizeof(*drvdata->msynth), GFP_KERNEL); | 1539 | sizeof(*drvdata->msynth), GFP_KERNEL); |
1540 | drvdata->clkout = devm_kzalloc(&client->dev, num_clocks * | 1540 | drvdata->clkout = devm_kcalloc(&client->dev, num_clocks, |
1541 | sizeof(*drvdata->clkout), GFP_KERNEL); | 1541 | sizeof(*drvdata->clkout), GFP_KERNEL); |
1542 | drvdata->num_clkout = num_clocks; | 1542 | drvdata->num_clkout = num_clocks; |
1543 | 1543 | ||