Re: [PATCH 7/6] driver core: add default groups to struct class

From: Greg Kroah-Hartman
Date: Wed Jul 10 2013 - 18:25:07 EST


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@xxxxxxxxxxxxxxxxxxx>
>
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/