Browse Source

clk: qoriq: Replace kzalloc() with kmalloc()

Where the memset() is not necessary

Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
Emil Medve 10 years ago
parent
commit
6ef1ccac50
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/clk/clk-qoriq.c

+ 1 - 1
drivers/clk/clk-qoriq.c

@@ -193,7 +193,7 @@ static void __init core_pll_init(struct device_node *np)
 	if (!subclks)
 	if (!subclks)
 		goto err_map;
 		goto err_map;
 
 
-	onecell_data = kzalloc(sizeof(*onecell_data), GFP_KERNEL);
+	onecell_data = kmalloc(sizeof(*onecell_data), GFP_KERNEL);
 	if (!onecell_data)
 	if (!onecell_data)
 		goto err_clks;
 		goto err_clks;