projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
334680d
)
clk: qoriq: Replace kzalloc() with kmalloc()
author
Emil Medve
<Emilian.Medve@Freescale.com>
Wed, 21 Jan 2015 10:03:28 +0000
(
04:03
-0600)
committer
Michael 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
patch
|
blob
|
history
diff --git
a/drivers/clk/clk-qoriq.c
b/drivers/clk/clk-qoriq.c
index
07936a3
..
4b44825
100644
(file)
--- 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 = k
z
alloc(sizeof(*onecell_data), GFP_KERNEL);
+ onecell_data = k
m
alloc(sizeof(*onecell_data), GFP_KERNEL);
if (!onecell_data)
goto err_clks;