Re: [PATCH v7 44/50] drivers/of: Split unflatten_dt_node()

2015-11-04 Thread Gavin Shan
On Wed, Nov 04, 2015 at 12:43:08PM -0600, Rob Herring wrote: >On Wed, Nov 4, 2015 at 7:12 AM, Gavin Shan wrote: >> 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

[PATCH v7 44/50] drivers/of: Split unflatten_dt_node()

2015-11-04 Thread Gavin Shan
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

Re: [PATCH v7 44/50] drivers/of: Split unflatten_dt_node()

2015-11-04 Thread Rob Herring
On Wed, Nov 4, 2015 at 7:12 AM, Gavin Shan wrote: > 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: