Skip to content

Commit 6077af2

Browse files
MrVanabelvesa
authored andcommitted
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>
1 parent 912d7af commit 6077af2

2 files changed

Lines changed: 0 additions & 9 deletions

File tree

drivers/clk/imx/clk.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,6 @@ EXPORT_SYMBOL_GPL(imx_ccm_lock);
2020
bool mcore_booted;
2121
EXPORT_SYMBOL_GPL(mcore_booted);
2222

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-
3123
void imx_unregister_hw_clocks(struct clk_hw *hws[], unsigned int count)
3224
{
3325
unsigned int i;

drivers/clk/imx/clk.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ static inline void imx_register_uart_clocks(void)
1919
}
2020
#endif
2121
void imx_mmdc_mask_handshake(void __iomem *ccm_base, unsigned int chn);
22-
void imx_unregister_clocks(struct clk *clks[], unsigned int count);
2322
void imx_unregister_hw_clocks(struct clk_hw *hws[], unsigned int count);
2423

2524
extern void imx_cscmr1_fixup(u32 *val);

0 commit comments

Comments
 (0)