All of lore.kernel.org
 help / color / mirror / Atom feed
* Missing removal of sysfs attributes in gpiolib
@ 2013-08-28 17:57 Guenter Roeck
  2013-08-28 18:31 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 5+ messages in thread
From: Guenter Roeck @ 2013-08-28 17:57 UTC (permalink / raw)
  To: linux-kernel; +Cc: Grant Likely, Linus Walleij, Greg Kroah-Hartman

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 not noticed this anywhere else,
and I don't seem to be able to find the code actually performing auto-removal
of manually created attributes, so I wonder if this is a bug or intentional.

Thanks,
Guenter

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-08-28 19:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-28 17:57 Missing removal of sysfs attributes in gpiolib Guenter Roeck
2013-08-28 18:31 ` Greg Kroah-Hartman
2013-08-28 18:44   ` Guenter Roeck
2013-08-28 18:53     ` Greg Kroah-Hartman
2013-08-28 19:33       ` Guenter Roeck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.