summaryrefslogtreecommitdiff
path: root/drivers/of/base.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2017-06-01 18:01:47 -0500
committerRob Herring <robh@kernel.org>2017-10-03 15:02:11 -0500
commita7e4cfb0a7ca4773e7d0dd1d9c018ab27a15360e (patch)
tree413c494ba641d4f4cfaec0976359b10acdd70a26 /drivers/of/base.c
parent06665989d2af86fd3cae14a0fbb4d8ecd2c5b6ee (diff)
of/fdt: only store the device node basename in full_name
With dependencies on a statically allocated full path name converted to use %pOF format specifier, we can store just the basename of node, and the unflattening of the FDT can be simplified. This commit will affect the remaining users of full_name. After analyzing these users, the remaining cases should only change some print messages. The main users of full_name are providing a name for struct resource. The resource names shouldn't be important other than providing /proc/iomem names. We no longer distinguish between pre and post 0x10 dtb formats as either a full path or basename will work. However, less than 0x10 formats have been broken since the conversion to use libfdt (and no one has cared). The conversion of the unflattening code to be non-recursive also broke pre 0x10 formats as the populate_node function would return 0 in that case. Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of/base.c')
0 files changed, 0 insertions, 0 deletions