Message ID | 20190724062435.28074-1-Anson.Huang@nxp.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | 5133f1f3cc41bb3702dfd259bfc253dcb1bc915a |
Headers | show |
Series | clk: imx: Remove unused function statement | expand |
Hello, On Wed, Jul 24, 2019 at 02:24:35PM +0800, Anson.Huang@nxp.com wrote: > From: Anson Huang <Anson.Huang@nxp.com> > > imx_register_uart_clocks_hws() function is NOT implemented > at all, remove it. > > Signed-off-by: Anson Huang <Anson.Huang@nxp.com> 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. Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Best regards Uwe
On 19-07-24 14:24:35, Anson.Huang@nxp.com wrote: > From: Anson Huang <Anson.Huang@nxp.com> > > imx_register_uart_clocks_hws() function is NOT implemented > at all, remove it. > > Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Reviewed-by: Abel Vesa <abel.vesa@nxp.com> > --- > drivers/clk/imx/clk.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/clk/imx/clk.h b/drivers/clk/imx/clk.h > index 9995f2a..f7a389a 100644 > --- a/drivers/clk/imx/clk.h > +++ b/drivers/clk/imx/clk.h > @@ -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); > > -- > 2.7.4 >
On Wed, Jul 24, 2019 at 02:24:35PM +0800, Anson.Huang@nxp.com wrote: > From: Anson Huang <Anson.Huang@nxp.com> > > imx_register_uart_clocks_hws() function is NOT implemented > at all, remove it. > > Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Applied, thanks.
diff --git a/drivers/clk/imx/clk.h b/drivers/clk/imx/clk.h index 9995f2a..f7a389a 100644 --- a/drivers/clk/imx/clk.h +++ b/drivers/clk/imx/clk.h @@ -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);