public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] clk: imx: drop imx_unregister_clocks
@ 2023-05-06  9:08 Peng Fan (OSS)
  2023-05-12 20:50 ` Stephen Boyd
  2023-05-18 14:44 ` Abel Vesa
  0 siblings, 2 replies; 3+ messages in thread
From: Peng Fan (OSS) @ 2023-05-06  9:08 UTC (permalink / raw)
  To: abelvesa, mturquette, sboyd, shawnguo, s.hauer, kernel, festevam
  Cc: linux-imx, linux-clk, linux-arm-kernel, linux-kernel, Peng Fan

From: Peng Fan <peng.fan@nxp.com>

There is no user using imx_unregister_clocks, so drop it.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 drivers/clk/imx/clk.c | 8 --------
 drivers/clk/imx/clk.h | 1 -
 2 files changed, 9 deletions(-)

diff --git a/drivers/clk/imx/clk.c b/drivers/clk/imx/clk.c
index 19cde59a20cb..e35496af5ceb 100644
--- a/drivers/clk/imx/clk.c
+++ b/drivers/clk/imx/clk.c
@@ -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;
diff --git a/drivers/clk/imx/clk.h b/drivers/clk/imx/clk.h
index 1031468701d7..af19d9f6aed0 100644
--- a/drivers/clk/imx/clk.h
+++ b/drivers/clk/imx/clk.h
@@ -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);
-- 
2.37.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: imx: drop imx_unregister_clocks
  2023-05-06  9:08 [PATCH] clk: imx: drop imx_unregister_clocks Peng Fan (OSS)
@ 2023-05-12 20:50 ` Stephen Boyd
  2023-05-18 14:44 ` Abel Vesa
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Boyd @ 2023-05-12 20:50 UTC (permalink / raw)
  To: Peng Fan, abelvesa, festevam, kernel, mturquette, s.hauer,
	shawnguo
  Cc: linux-imx, linux-clk, linux-arm-kernel, linux-kernel, Peng Fan

Quoting Peng Fan (OSS) (2023-05-06 02:08:56)
> From: Peng Fan <peng.fan@nxp.com>
> 
> 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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: imx: drop imx_unregister_clocks
  2023-05-06  9:08 [PATCH] clk: imx: drop imx_unregister_clocks Peng Fan (OSS)
  2023-05-12 20:50 ` Stephen Boyd
@ 2023-05-18 14:44 ` Abel Vesa
  1 sibling, 0 replies; 3+ messages in thread
From: Abel Vesa @ 2023-05-18 14:44 UTC (permalink / raw)
  To: abelvesa, mturquette, sboyd, shawnguo, s.hauer, kernel, festevam,
	Peng Fan (OSS)
  Cc: linux-imx, linux-clk, linux-arm-kernel, linux-kernel, Peng Fan


On Sat, 06 May 2023 17:08:56 +0800, Peng Fan (OSS) wrote:
> There is no user using imx_unregister_clocks, so drop it.
> 
> 

Applied, thanks!

[1/1] clk: imx: drop imx_unregister_clocks
      commit: 6077af232cf58bfa4203c2364f99e0218aac7667

Best regards,
-- 
Abel Vesa <abel.vesa@linaro.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-05-18 14:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-06  9:08 [PATCH] clk: imx: drop imx_unregister_clocks Peng Fan (OSS)
2023-05-12 20:50 ` Stephen Boyd
2023-05-18 14:44 ` Abel Vesa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox