projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/clk/clk-qoriq.c
b/drivers/clk/clk-qoriq.c
index 07936a36857b0254eaeb16842d56ae6b1cba97ef..4b448256789000c9608585a1e8f7e651857ab2af 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;