diff options
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | 2016-05-03 23:22:47 +1000 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2016-05-16 07:22:33 -0500 |
commit | dfbd4c6eff35f1b1065cca046003cc9d7ff27222 (patch) | |
tree | c6d630aeaaaa8e5f548a919f47d0fbbbc90eee40 /.gitignore | |
parent | 011d6f5c3e5f38a767c8f4c7e2de73dc91959cb0 (diff) |
drivers/of: Split unflatten_dt_node()
The function unflatten_dt_node() is called recursively to unflatten
device nodes and properties in the FDT blob. It looks complicated
and hard to be understood.
This splits the function into 3 functions: populate_properties(),
populate_node() and unflatten_dt_node(). populate_properties(),
which is called by populate_node(), creates properties for the
indicated device node. The later one creates the device nodes
from FDT blob. populate_node() gets the offset in FDT blob for
next device nodes and then calls populate_node(). No logical
changes introduced.
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions