2019-03-21 15:28:52

by Abel Vesa

[permalink] [raw]
Subject: [PATCH] clk: imx: Remove unused imx_get_clk_hw_fixed

This is never used and the imx_clk_hw_fixed does the same thing.

Signed-off-by: Abel Vesa <[email protected]>
---
drivers/clk/imx/clk.h | 5 -----
1 file changed, 5 deletions(-)

diff --git a/drivers/clk/imx/clk.h b/drivers/clk/imx/clk.h
index 5748ec8..edc12d6 100644
--- a/drivers/clk/imx/clk.h
+++ b/drivers/clk/imx/clk.h
@@ -138,11 +138,6 @@ static inline struct clk_hw *imx_clk_hw_fixed(const char *name, int rate)
return clk_hw_register_fixed_rate(NULL, name, NULL, 0, rate);
}

-static inline struct clk_hw *imx_get_clk_hw_fixed(const char *name, int rate)
-{
- return clk_hw_register_fixed_rate(NULL, name, NULL, 0, rate);
-}
-
static inline struct clk *imx_clk_mux_ldb(const char *name, void __iomem *reg,
u8 shift, u8 width, const char * const *parents,
int num_parents)
--
2.7.4



2019-03-26 08:52:37

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH] clk: imx: Remove unused imx_get_clk_hw_fixed

On Thu, Mar 21, 2019 at 03:25:54PM +0000, Abel Vesa wrote:
> This is never used and the imx_clk_hw_fixed does the same thing.
>
> Signed-off-by: Abel Vesa <[email protected]>

Applied, thanks.