diff mbox series

clk: imx: drop duplicated macro

Message ID 20230403082728.3199849-1-peng.fan@oss.nxp.com (mailing list archive)
State Awaiting Upstream, archived
Headers show
Series clk: imx: drop duplicated macro | expand

Commit Message

Peng Fan (OSS) April 3, 2023, 8:27 a.m. UTC
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(-)

Comments

Ahmad Fatoum April 3, 2023, 8:35 a.m. UTC | #1
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)
>
Abel Vesa April 3, 2023, 8:41 p.m. UTC | #2
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,
diff mbox series

Patch

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)