Cc: Cornelia Huck <cornelia.huck@...>, Greg KH <greg@...>, Kernel development list <linux-kernel@...>, Jonathan Corbet <corbet@...>, Randy Dunlap <randy.dunlap@...>
On Thu, 2007-11-29 at 14:05 -0500, Alan Stern wrote:
Now we just move the exactly the same problem from _init() to
_set_name(). To free the name of an unregistered we would need to call
_put() which free()'s the whole object again. :)
That can be done at any stage, I guess. We will rip out the name in the
struct device anyway.
Kay
-