[RFC PATCH 0/2] of: Implement iterator for phandles

2016-03-18 Thread Joerg Roedel
Hi, here is an implementation of the iterator over phandles concept which Rob Herring suggested to me some time ago. My approach is a little bit different from what the diff showed back then, but it gets rid of the allocation and 'struct 'struct of_phandle_args' misuse. I also converted the

[RFC PATCH 0/2] of: Implement iterator for phandles

2016-03-18 Thread Joerg Roedel
Hi, here is an implementation of the iterator over phandles concept which Rob Herring suggested to me some time ago. My approach is a little bit different from what the diff showed back then, but it gets rid of the allocation and 'struct 'struct of_phandle_args' misuse. I also converted the