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

Greg KH
2002-10-08T22:28:31Z

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