Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: imx: drop imx_unregister_clocks

There is no user using imx_unregister_clocks, so drop it.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/20230506090856.3599035-1-peng.fan@oss.nxp.com
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>

authored by

Peng Fan and committed by
Abel Vesa
6077af23 912d7af4

-9
-8
drivers/clk/imx/clk.c
··· 20 20 bool mcore_booted; 21 21 EXPORT_SYMBOL_GPL(mcore_booted); 22 22 23 - void imx_unregister_clocks(struct clk *clks[], unsigned int count) 24 - { 25 - unsigned int i; 26 - 27 - for (i = 0; i < count; i++) 28 - clk_unregister(clks[i]); 29 - } 30 - 31 23 void imx_unregister_hw_clocks(struct clk_hw *hws[], unsigned int count) 32 24 { 33 25 unsigned int i;
-1
drivers/clk/imx/clk.h
··· 19 19 } 20 20 #endif 21 21 void imx_mmdc_mask_handshake(void __iomem *ccm_base, unsigned int chn); 22 - void imx_unregister_clocks(struct clk *clks[], unsigned int count); 23 22 void imx_unregister_hw_clocks(struct clk_hw *hws[], unsigned int count); 24 23 25 24 extern void imx_cscmr1_fixup(u32 *val);