Duplicated code in file "drivers/phy/ti/phy-j721e-wiz.c" 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); } ............