merged.

Bruce

In message: [linux-yocto][linux-yocto v5.10/standard/ti-sdk-5.10/ti-j72xx & 
v5.10/standard/preempt-rt/ti-sdk-5.10/ti-j72xx][PATCH]  phy: ti: j721e-wiz: 
drop duplicated code in function wiz_clock_cleanup()
on 07/06/2022 Xulin Sun wrote:

> There are some duplicated codes in function wiz_clock_cleanup(), drop
> these code to avoid redundant operations.
> 
> Signed-off-by: Xulin Sun <[email protected]>
> ---
>  drivers/phy/ti/phy-j721e-wiz.c | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/drivers/phy/ti/phy-j721e-wiz.c b/drivers/phy/ti/phy-j721e-wiz.c
> index 9224f2df88ba..3001514e8085 100644
> --- a/drivers/phy/ti/phy-j721e-wiz.c
> +++ b/drivers/phy/ti/phy-j721e-wiz.c
> @@ -867,12 +867,6 @@ static void wiz_clock_cleanup(struct wiz *wiz, struct 
> device_node *node)
>               of_node_put(clk_node);
>       }
>  
> -     for (i = 0; i < wiz->clk_div_sel_num; i++) {
> -             clk_node = of_get_child_by_name(node, clk_div_sel[i].node_name);
> -             of_clk_del_provider(clk_node);
> -             of_node_put(clk_node);
> -     }
> -
>       of_clk_del_provider(wiz->dev->of_node);
>  }
>  
> -- 
> 2.36.0
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11388): 
https://lists.yoctoproject.org/g/linux-yocto/message/11388
Mute This Topic: https://lists.yoctoproject.org/mt/91596649/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to