OSDN Git Service

drm/tilcdc: Remove redundant OF_DETACHED flag setting
authorStephen Boyd <stephen.boyd@linaro.org>
Fri, 13 Oct 2017 07:47:55 +0000 (00:47 -0700)
committerJyri Sarha <jsarha@ti.com>
Fri, 13 Oct 2017 12:25:11 +0000 (15:25 +0300)
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>
drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c

index 623a914..482299a 100644 (file)
@@ -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);