]> git.karo-electronics.de Git - linux-beck.git/commitdiff
clk: qoriq: Replace kzalloc() with kmalloc()
authorEmil Medve <Emilian.Medve@Freescale.com>
Wed, 21 Jan 2015 10:03:28 +0000 (04:03 -0600)
committerMichael Turquette <mturquette@linaro.org>
Wed, 28 Jan 2015 18:11:40 +0000 (10:11 -0800)
Where the memset() is not necessary

Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
drivers/clk/clk-qoriq.c

index 07936a36857b0254eaeb16842d56ae6b1cba97ef..4b448256789000c9608585a1e8f7e651857ab2af 100644 (file)
@@ -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;