Cc: pm list <linux-pm@...>, ACPI Devel Maling List <linux-acpi@...>, Greg KH <greg@...>, Len Brown <lenb@...>, LKML <linux-kernel@...>, Alexey Starikovskiy <astarikovskiy@...>, David Brownell <david-b@...>, Pavel Machek <pavel@...>, Benjamin Herrenschmidt <benh@...>
Why would a noirq method want to do that? IMO, it's not a big deal if noirq
methods are not allowed to unregister devices.
Well, I suspect that will confuse lockdep quite a bit. Otherwise, I don't see
a problem with it (it's just changing the value of a shared variable after
all).
Thanks,
Rafael
--