From: Emil Medve Date: Wed, 21 Jan 2015 10:03:28 +0000 (-0600) Subject: clk: qoriq: Replace kzalloc() with kmalloc() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6ef1ccac50b08a73835649adff10a0166fc7db21;p=linux-beck.git clk: qoriq: Replace kzalloc() with kmalloc() Where the memset() is not necessary Signed-off-by: Emil Medve Signed-off-by: Michael Turquette --- diff --git a/drivers/clk/clk-qoriq.c b/drivers/clk/clk-qoriq.c index 07936a36857b..4b4482567890 100644 --- a/drivers/clk/clk-qoriq.c +++ b/drivers/clk/clk-qoriq.c @@ -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;