Re: [PATCH 2/8] of: Drop full path from Sparc PDT full_name

2018-11-09 Thread David Miller
From: Rob Herring Date: Fri, 9 Nov 2018 14:30:01 -0600 > That is the intent. With this change we stop storing the full path for > every node. Everywhere that needs the full path, generates it with the > %pOF printf specifier. Other than users in arch/sparc converted in > this series all the users

Re: [PATCH 2/8] of: Drop full path from Sparc PDT full_name

2018-11-09 Thread Rob Herring
On Thu, Nov 8, 2018 at 9:11 PM David Miller wrote: > > From: Rob Herring > Date: Wed, 7 Nov 2018 16:31:45 -0600 > > > @@ -32,24 +32,7 @@ unsigned int of_pdt_unique_id __initdata; > > > > static char * __init of_pdt_build_full_name(struct device_node *dp) > > { > > - int len, ourlen, plen;

Re: [PATCH 2/8] of: Drop full path from Sparc PDT full_name

2018-11-08 Thread David Miller
From: Rob Herring Date: Wed, 7 Nov 2018 16:31:45 -0600 > @@ -32,24 +32,7 @@ unsigned int of_pdt_unique_id __initdata; > > static char * __init of_pdt_build_full_name(struct device_node *dp) > { > - int len, ourlen, plen; > - char *n; > - > - dp->path_component_name = build_path_c

[PATCH 2/8] of: Drop full path from Sparc PDT full_name

2018-11-07 Thread Rob Herring
Now that there are no more users of path_component_name outside of the PDT code and users of device_node.full_name are converted to use "%pOF" printf specifier, we can align Sparc with other arches and store just the base node name and unit address in full_name. This makes path_component_name redun