[PATCH] clk: imx: drop duplicated macro

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Apr 3 01:35:46 PDT 2023


On 03.04.23 10:27, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan at nxp.com>
> 
> Drop duplicated macro definition
> 
> Signed-off-by: Peng Fan <peng.fan at nxp.com>

Reviewed-by: Ahmad Fatoum <a.fatoum at 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 |




More information about the linux-arm-kernel mailing list