[PATCH] clk: imx: drop duplicated macro

Peng Fan (OSS) posted 1 patch 2 years, 10 months ago
drivers/clk/imx/clk.h | 3 ---
1 file changed, 3 deletions(-)
[PATCH] clk: imx: drop duplicated macro
Posted by Peng Fan (OSS) 2 years, 10 months ago
From: Peng Fan <peng.fan@nxp.com>

Drop duplicated macro definition

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 drivers/clk/imx/clk.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/clk/imx/clk.h b/drivers/clk/imx/clk.h
index 3d94722bbf99..055bc9197fb4 100644
--- a/drivers/clk/imx/clk.h
+++ b/drivers/clk/imx/clk.h
@@ -153,9 +153,6 @@ extern struct imx_fracn_gppll_clk imx_fracn_gppll;
 #define imx_clk_pllv2(name, parent, base) \
 	to_clk(imx_clk_hw_pllv2(name, parent, base))
 
-#define imx_clk_mux_flags(name, reg, shift, width, parents, num_parents, flags) \
-	to_clk(imx_clk_hw_mux_flags(name, reg, shift, width, parents, num_parents, flags))
-
 #define imx_clk_hw_gate(name, parent, reg, shift) \
 	imx_clk_hw_gate_flags(name, parent, reg, shift, 0)
 
-- 
2.37.1
Re: [PATCH] clk: imx: drop duplicated macro
Posted by Abel Vesa 2 years, 10 months ago
On Mon, 3 Apr 2023 16:27:28 +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
> 
> Drop duplicated macro definition
> 
> 

Applied, thanks!

[1/1] clk: imx: drop duplicated macro
      commit: 79ef82c55a37b9c3605602c4909db84481c9fb2f

Best regards,
-- 
Abel Vesa <abel.vesa@linaro.org>
Re: [PATCH] clk: imx: drop duplicated macro
Posted by Ahmad Fatoum 2 years, 10 months ago
On 03.04.23 10:27, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
> 
> Drop duplicated macro definition
> 
> Signed-off-by: Peng Fan <peng.fan@nxp.com>

Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>

> ---
>  drivers/clk/imx/clk.h | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/drivers/clk/imx/clk.h b/drivers/clk/imx/clk.h
> index 3d94722bbf99..055bc9197fb4 100644
> --- a/drivers/clk/imx/clk.h
> +++ b/drivers/clk/imx/clk.h
> @@ -153,9 +153,6 @@ extern struct imx_fracn_gppll_clk imx_fracn_gppll;
>  #define imx_clk_pllv2(name, parent, base) \
>  	to_clk(imx_clk_hw_pllv2(name, parent, base))
>  
> -#define imx_clk_mux_flags(name, reg, shift, width, parents, num_parents, flags) \
> -	to_clk(imx_clk_hw_mux_flags(name, reg, shift, width, parents, num_parents, flags))
> -
>  #define imx_clk_hw_gate(name, parent, reg, shift) \
>  	imx_clk_hw_gate_flags(name, parent, reg, shift, 0)
>  

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |