Commit 6ef1ccac authored by Emil Medve's avatar Emil Medve Committed by Michael Turquette

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

Where the memset() is not necessary
Signed-off-by: default avatarEmil Medve <Emilian.Medve@Freescale.com>
Signed-off-by: default avatarMichael Turquette <mturquette@linaro.org>
parent 334680dd
...@@ -193,7 +193,7 @@ static void __init core_pll_init(struct device_node *np) ...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment