clk: imx: drop imx_unregister_clocks
authorPeng Fan <peng.fan@nxp.com>
Sat, 6 May 2023 09:08:56 +0000 (17:08 +0800)
committerAbel Vesa <abel.vesa@linaro.org>
Thu, 18 May 2023 14:40:22 +0000 (17:40 +0300)
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>
drivers/clk/imx/clk.c
drivers/clk/imx/clk.h

index 19cde59..e35496a 100644 (file)
@@ -20,14 +20,6 @@ EXPORT_SYMBOL_GPL(imx_ccm_lock);
 bool mcore_booted;
 EXPORT_SYMBOL_GPL(mcore_booted);
 
-void imx_unregister_clocks(struct clk *clks[], unsigned int count)
-{
-       unsigned int i;
-
-       for (i = 0; i < count; i++)
-               clk_unregister(clks[i]);
-}
-
 void imx_unregister_hw_clocks(struct clk_hw *hws[], unsigned int count)
 {
        unsigned int i;
index 1031468..af19d9f 100644 (file)
@@ -19,7 +19,6 @@ static inline void imx_register_uart_clocks(void)
 }
 #endif
 void imx_mmdc_mask_handshake(void __iomem *ccm_base, unsigned int chn);
-void imx_unregister_clocks(struct clk *clks[], unsigned int count);
 void imx_unregister_hw_clocks(struct clk_hw *hws[], unsigned int count);
 
 extern void imx_cscmr1_fixup(u32 *val);