[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130710222459.GA3818@kroah.com>
Date: Wed, 10 Jul 2013 15:24:59 -0700
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Guenter Roeck <linux@...ck-us.net>
Cc: linux-kernel@...r.kernel.org, oliver+list@...inagl.nl,
khali@...ux-fr.org
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@...uxfoundation.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists