Re: [PATCH V2 1/2] of: Make device nodes kobjects so they show up in sysfs

2013-03-21 Thread Grant Likely
On Thu, Mar 21, 2013 at 12:49 PM, Benjamin Herrenschmidt wrote: > On Thu, 2013-03-21 at 11:24 +, Grant Likely wrote: >> Device tree nodes are already treated as objects, and we already want to >> expose them to userspace which is done using the /proc filesystem today. >> Right now the kernel h

Re: [PATCH V2 1/2] of: Make device nodes kobjects so they show up in sysfs

2013-03-21 Thread Benjamin Herrenschmidt
On Thu, 2013-03-21 at 11:24 +, Grant Likely wrote: > Device tree nodes are already treated as objects, and we already want to > expose them to userspace which is done using the /proc filesystem today. > Right now the kernel has to do a lot of work to keep the /proc view in > sync with the in-ke