Skip to contentSkip to conversation

clk: imx: Remove unused function statement

PATCH Applied [email protected] 4 participants 4 messages Jul 24, 2019 – Aug 3, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: imx: Remove unused function statement

From: Anson Huang <[email protected]>

imx_register_uart_clocks_hws() function is NOT implemented at all, remove it.

---
 drivers/clk/imx/clk.h | 1 -
 1 file changed, 1 deletion(-)
drivers/clk/imx/clk.h +0 -1
index 9995f2a..f7a389a 100644
@@ -10,7 +10,6 @@ extern spinlock_t imx_ccm_lock;
 void imx_check_clocks(struct clk *clks[], unsigned int count);
 void imx_check_clk_hws(struct clk_hw *clks[], unsigned int count);
 void imx_register_uart_clocks(struct clk ** const clks[]);
-void imx_register_uart_clocks_hws(struct clk_hw ** const hws[]);
 void imx_mmdc_mask_handshake(void __iomem *ccm_base, unsigned int chn);
 void imx_unregister_clocks(struct clk *clks[], unsigned int count);
 
Signature · 1 line
2.7.4
Acked-by on v1 1/1
#1 lore raw

Hello,

Quoted 6 lines · On Wed, Jul 24, 2019 at 02:24:35PM +0800, [email protected] wrote:

From: Anson Huang <[email protected]>

imx_register_uart_clocks_hws() function is NOT implemented at all, remove it.

Looks right. This function never existed, the prototype was introduced in commit dd1a6c0d339b ("clk: imx: clk-busy: Switch to clk_hw based API") in the 5.3-rc1 cycle.

Best regards
Uwe

Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Reviewed-by on v1 1/1
#2 lore raw
In reply to [email protected]
Quoted 6 lines · On 19-07-24 14:24:35, [email protected] wrote:

From: Anson Huang <[email protected]>

imx_register_uart_clocks_hws() function is NOT implemented at all, remove it.

Quoted 19 lines
---
 drivers/clk/imx/clk.h | 1 -
 1 file changed, 1 deletion(-)
drivers/clk/imx/clk.h +0 -1
index 9995f2a..f7a389a 100644
@@ -10,7 +10,6 @@ extern spinlock_t imx_ccm_lock;
 void imx_check_clocks(struct clk *clks[], unsigned int count);
 void imx_check_clk_hws(struct clk_hw *clks[], unsigned int count);
 void imx_register_uart_clocks(struct clk ** const clks[]);
-void imx_register_uart_clocks_hws(struct clk_hw ** const hws[]);
 void imx_mmdc_mask_handshake(void __iomem *ccm_base, unsigned int chn);
 void imx_unregister_clocks(struct clk *clks[], unsigned int count);
 
Signature · 1 line
2.7.4