]> asedeno.scripts.mit.edu Git - linux.git/commit
of: Drop full path from full_name for PDT systems
authorRob Herring <robh@kernel.org>
Fri, 16 Nov 2018 21:06:55 +0000 (15:06 -0600)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Nov 2018 21:35:20 +0000 (13:35 -0800)
commit0c5eaa7749726b2e4667a5e3668c3eb8516e7440
treee83bcaefddf6f9563c64b6920b2f9eb8c09bf33d
parenta412c85aa82a5c8d585b08808aeefcd186712bb5
of: Drop full path from full_name for PDT systems

Now that there are no more users of path_component_name for Sparc
outside of the PDT code and all users of device_node.full_name are
converted to use "%pOF" printf specifier, we can align Sparc with FDT
and store just the base node name and unit address in full_name. This
makes path_component_name redundant, so it can be removed.

As full_name is used by printf specifiers, set it as early as possible.

Cc: Frank Rowand <frowand.list@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/of/pdt.c
include/linux/of.h