Re: Missing removal of sysfs attributes in gpiolib

2013-08-28 Thread Guenter Roeck
On Wed, Aug 28, 2013 at 11:53:06AM -0700, Greg Kroah-Hartman wrote: > On Wed, Aug 28, 2013 at 11:44:33AM -0700, Guenter Roeck wrote: > > On Wed, Aug 28, 2013 at 11:31:39AM -0700, Greg Kroah-Hartman wrote: > > > On Wed, Aug 28, 2013 at 10:57:17AM -0700, Guenter Roeck wrote: > > > > Hi, > > > > > >

Re: Missing removal of sysfs attributes in gpiolib

2013-08-28 Thread Greg Kroah-Hartman
On Wed, Aug 28, 2013 at 11:44:33AM -0700, Guenter Roeck wrote: > On Wed, Aug 28, 2013 at 11:31:39AM -0700, Greg Kroah-Hartman wrote: > > On Wed, Aug 28, 2013 at 10:57:17AM -0700, Guenter Roeck wrote: > > > Hi, > > > > > > I noticed that gpiolib does not explicitly remove the sysfs attributes it >

Re: Missing removal of sysfs attributes in gpiolib

2013-08-28 Thread Guenter Roeck
On Wed, Aug 28, 2013 at 11:31:39AM -0700, Greg Kroah-Hartman wrote: > On Wed, Aug 28, 2013 at 10:57:17AM -0700, Guenter Roeck wrote: > > Hi, > > > > I noticed that gpiolib does not explicitly remove the sysfs attributes it > > created when exporting a gpio pin when the pin is unexported, ie when t

Re: Missing removal of sysfs attributes in gpiolib

2013-08-28 Thread Greg Kroah-Hartman
On Wed, Aug 28, 2013 at 10:57:17AM -0700, Guenter Roeck wrote: > Hi, > > I noticed that gpiolib does not explicitly remove the sysfs attributes it > created when exporting a gpio pin when the pin is unexported, ie when the > associated device is removed. > > Are those attributes auto-removed when

Missing removal of sysfs attributes in gpiolib

2013-08-28 Thread Guenter Roeck
Hi, I noticed that gpiolib does not explicitly remove the sysfs attributes it created when exporting a gpio pin when the pin is unexported, ie when the associated device is removed. Are those attributes auto-removed when device_unregister() is called ? Sorry if this is a dumb question - I have n