On Thu, Feb 01, 2007 at 11:59:43AM -0500, Alan Stern wrote:
> > >   We should write sysfs_add_to_group(), so that these two
> > >   attributes can be added to the existing device/power
> > >   subdirectory.  (sysfs_remove_from_group() doesn't seem to
> > >   be needed, but it could be written as well.)
> > 
> > I will not comment on sysfs stuff without prior discussion with the
> > sysfs people. I am simply not competent to do so.
> 
> Greg should be able to decide.  Will there be any problem with creating a 
> sysfs_add_to_group() routine?

If it's needed, I don't see why not.

> Or maybe modify the current sysfs_create_group() so that it doesn't
> return an error when the group already exists but simply merges the
> new group with the existing one?

That might be a bit harder to do, because you would expect the remove
function to remove everything in only the original group.

But hey, feel free to make a patch and we can see how it would all work
out :)

thanks,

greg k-h

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to