Re: [RFC] embedded struct device Re: [patch] IDE driver model update

Greg KH (greg@kroah.com)
Tue, 8 Oct 2002 15:29:18 -0700


On Tue, Oct 08, 2002 at 05:42:25PM -0400, Alexander Viro wrote:
>
> _IF_ the last two steps were done by ->release(), your arguments would
> work. Actually they are done by driver right after the put_device() call.

Yes, and that's wrong :(

> If you are willing to change that (== move all destruction into ->release()) -
> yeah, then embedded struct device will work. It's a hell of a work though.

It's not that much work, and I'll do it for USB, and for PCI, unless Pat
beats me to it.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/