Re: [PATCH] of: unittest: Remove redundant OF_DETACHED flag setting

2017-10-16 Thread Rob Herring
On Fri, Oct 13, 2017 at 12:44:51AM -0700, Stephen Boyd wrote: > of_fdt_unflatten_tree() already sets the flag on the node to > OF_DETACHED, because of_fdt_unflatten_tree() calls > __unflatten_device_tree() with the detached bool set to true. > > Signed-off-by: Stephen Boyd > --- > drivers/of/uni

Re: [PATCH] of: unittest: Remove redundant OF_DETACHED flag setting

2017-10-13 Thread Frank Rowand
On 10/13/17 00:44, Stephen Boyd wrote: > of_fdt_unflatten_tree() already sets the flag on the node to > OF_DETACHED, because of_fdt_unflatten_tree() calls > __unflatten_device_tree() with the detached bool set to true. > > Signed-off-by: Stephen Boyd > --- > drivers/of/unittest.c | 2 -- > 1 fil

[PATCH] of: unittest: Remove redundant OF_DETACHED flag setting

2017-10-13 Thread Stephen Boyd
of_fdt_unflatten_tree() already sets the flag on the node to OF_DETACHED, because of_fdt_unflatten_tree() calls __unflatten_device_tree() with the detached bool set to true. Signed-off-by: Stephen Boyd --- drivers/of/unittest.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/of/unit