Skip to content

Commit

Permalink
drm/tilcdc: Remove redundant OF_DETACHED flag setting
Browse files Browse the repository at this point in the history
of_fdt_unflatten_tree() already sets the flag on this node to
OF_DETACHED, because of_fdt_unflatten_tree() calls
__unflatten_device_tree() with the detached bool set to true.

Cc: Rob Herring <robh+dt@kernel.org>
Cc: Frank Rowand <frowand.list@gmail.com>
Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org>
Signed-off-by: Jyri Sarha <jsarha@ti.com>
  • Loading branch information
Stephen Boyd authored and Jyri Sarha committed Oct 13, 2017
1 parent ce99f72 commit 44cd393
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ static struct device_node * __init tilcdc_get_overlay(struct kfree_table *kft)
return NULL;
}

of_node_set_flag(overlay, OF_DETACHED);
ret = of_resolve_phandles(overlay);
if (ret) {
pr_err("%s: Failed to resolve phandles: %d\n", __func__, ret);
Expand Down

0 comments on commit 44cd393

Please sign in to comment.