Messages in this thread | | | Date | Wed, 10 Jul 2013 15:24:59 -0700 | From | Greg Kroah-Hartman <> | Subject | Re: [PATCH 7/6] driver core: add default groups to struct class |
| |
On Wed, Jul 10, 2013 at 03:18:12PM -0700, Guenter Roeck wrote: > On Wed, Jul 10, 2013 at 03:05:31PM -0700, Greg Kroah-Hartman wrote: > > > > We should be using groups, not attribute lists, for classes to allow > > subdirectories, and soon, binary files. Groups are just more flexible > > overall, so add them. > > > > The dev_attrs list will go away after all in-kernel users are converted > > to use dev_groups. > > > > Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> > > Nice one ... that solves my problem.
Thanks, I'll work on 'struct bus_type' next, moving that to only use groups, but that's not as important from what I can tell, busses don't seem to abuse sysfs as bad as drivers and devices do :)
thanks,
greg k-h
| |