|
@@ -274,8 +274,7 @@ static int of_dra7_atl_clk_probe(struct platform_device *pdev)
|
|
|
|
|
|
/* Get configuration for the ATL instances */
|
|
/* Get configuration for the ATL instances */
|
|
snprintf(prop, sizeof(prop), "atl%u", i);
|
|
snprintf(prop, sizeof(prop), "atl%u", i);
|
|
- of_node_get(node);
|
|
|
|
- cfg_node = of_find_node_by_name(node, prop);
|
|
|
|
|
|
+ cfg_node = of_get_child_by_name(node, prop);
|
|
if (cfg_node) {
|
|
if (cfg_node) {
|
|
ret = of_property_read_u32(cfg_node, "bws",
|
|
ret = of_property_read_u32(cfg_node, "bws",
|
|
&cdesc->bws);
|
|
&cdesc->bws);
|