Cc: Greg KH <gregkh@...>, Andrew Morton <akpm@...>, Len Brown <lenb@...>, Ingo Molnar <mingo@...>, ACPI Devel Maling List <linux-acpi@...>, LKML <linux-kernel@...>, pm list <linux-pm@...>
We could, however I don't think it's dangerous to allow it. The two
problems to avoid are (1) messing up the PM device list pointers, and
(2) calling a driver's suspend/resume methods while its remove method
is running. (1) is handled by the pm_list_mutex and (2) is handled by
locking dev->sem.
Alan Stern
--