Skip to content

Commit

Permalink
clk: qoriq: Replace kzalloc() with kmalloc()
Browse files Browse the repository at this point in the history
Where the memset() is not necessary

Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
  • Loading branch information
Emil Medve authored and Michael Turquette committed Jan 28, 2015
1 parent 334680d commit 6ef1cca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clk/clk-qoriq.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ static void __init core_pll_init(struct device_node *np)
if (!subclks)
goto err_map;

onecell_data = kzalloc(sizeof(*onecell_data), GFP_KERNEL);
onecell_data = kmalloc(sizeof(*onecell_data), GFP_KERNEL);
if (!onecell_data)
goto err_clks;

Expand Down

0 comments on commit 6ef1cca

Please sign in to comment.