Re: [PATCH v2] powerpc/pseries: dynamically added OF nodes need to call of_node_init

2014-07-15 Thread Grant Likely
On Thu, Jul 10, 2014 at 1:59 PM, Nathan Fontenot wrote: > On 07/10/2014 01:50 PM, Tyrel Datwyler wrote: >> Commit 75b57ecf9 refactored device tree nodes to use kobjects such that they >> can be exposed via /sysfs. A secondary commit 0829f6d1f furthered this rework >> by moving the kobect initializ

Re: [PATCH v2] powerpc/pseries: dynamically added OF nodes need to call of_node_init

2014-07-10 Thread Nathan Fontenot
On 07/10/2014 01:50 PM, Tyrel Datwyler wrote: > Commit 75b57ecf9 refactored device tree nodes to use kobjects such that they > can be exposed via /sysfs. A secondary commit 0829f6d1f furthered this rework > by moving the kobect initialization logic out of of_node_add into its own > of_node_init fun

[PATCH v2] powerpc/pseries: dynamically added OF nodes need to call of_node_init

2014-07-10 Thread Tyrel Datwyler
Commit 75b57ecf9 refactored device tree nodes to use kobjects such that they can be exposed via /sysfs. A secondary commit 0829f6d1f furthered this rework by moving the kobect initialization logic out of of_node_add into its own of_node_init function. The inital commit removed the existing kref_ini