aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-trace.h
diff options
context:
space:
mode:
authorConor Dooley <[email protected]>2021-12-23 15:42:44 +0000
committerStephen Boyd <[email protected]>2022-01-06 17:46:56 -0800
commitc861c1be3897845313a0df47804b1db37c7052e1 (patch)
treeb112480166aaf7579cb009427e0c42f0c5ff5869 /drivers/usb/cdns3/cdns3-trace.h
parentfa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf (diff)
clk: bm1880: remove kfrees on static allocations
bm1880_clk_unregister_pll & bm1880_clk_unregister_div both try to free statically allocated variables, so remove those kfrees. For example, if we take L703 kfree(div_hw): - div_hw is a bm1880_div_hw_clock pointer - in bm1880_clk_register_plls this is pointed to an element of arg1: struct bm1880_div_hw_clock *clks - in the probe, where bm1880_clk_register_plls is called arg1 is bm1880_div_clks, defined on L371: static struct bm1880_div_hw_clock bm1880_div_clks[] Signed-off-by: Conor Dooley <[email protected]> Fixes: 1ab4601da55b ("clk: Add common clock driver for BM1880 SoC") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.h')
0 files changed, 0 insertions, 0 deletions