Re: [PATCH] PM: Acquire device locks on suspend

Alan Stern
2008-01-06T22:11:51Z

On Sun, 6 Jan 2008, Rafael J. Wysocki wrote:

> On Sunday, 6 of January 2008, Alan Stern wrote:

> Still, shouldn't we fail the removal of the device apart from giving the
> warning?

We can't. device_del() can't fail -- it returns void. Besides, how
can a driver hope to deal with an unregistration failure?

Alan Stern