summaryrefslogtreecommitdiff
path: root/drivers/clk/clk-qoriq.c
diff options
context:
space:
mode:
authorEmil Medve <Emilian.Medve@Freescale.com>2015-01-21 13:03:28 +0300
committerMichael Turquette <mturquette@linaro.org>2015-01-28 21:11:40 +0300
commit6ef1ccac50b08a73835649adff10a0166fc7db21 (patch)
tree9ed78372f9f709009bb8986806ba5b454d3c4d5c /drivers/clk/clk-qoriq.c
parent334680dd51643d2dd7929b4a41d55910294e01e2 (diff)
downloadlinux-6ef1ccac50b08a73835649adff10a0166fc7db21.tar.xz
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>
Diffstat (limited to 'drivers/clk/clk-qoriq.c')
-rw-r--r--drivers/clk/clk-qoriq.c2
1 files changed, 1 insertions, 1 deletions
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;