mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
clk: qoriq: Replace kzalloc() with kmalloc()
Where the memset() is not necessary Signed-off-by: Emil Medve <[email protected]> Signed-off-by: Michael Turquette <[email protected]>
This commit is contained in:
parent
334680dd51
commit
6ef1ccac50
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue