Re: [PATCH] PM: Remove destroy_suspended_device()

From: Pavel Machek
Date: Mon Mar 24 2008 - 11:57:46 EST


Hi!

> After 2.6.24 there was a plan to make the PM core acquire all device
> semaphores during a suspend/hibernation to protect itself from
> concurrent operations involving device objects. That proved to be
> too heavy-handed and we found a better way to achieve the goal, but
> before it happened, we had introduced the functions
> device_pm_schedule_removal() and destroy_suspended_device() to allow
> drivers to "safely" destroy a suspended device and we had adapted some
> drivers to use them. Now that these functions are no longer necessary,
> it seems reasonable to remove them and modify their users to use the
> normal device unregistration instead.
>
> Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx>

ACK.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/