Re: pm_register() and pm_send_all()

From: Ralf Baechle
Date: Thu Mar 13 2008 - 08:28:48 EST


On Thu, Mar 13, 2008 at 10:28:13AM +0100, Pavel Machek wrote:

> AFAICT pm_send_all is a nop when noone uses pm_register...
>
> Hmm.. can we just force CONFIG_PM_LEGACY=n, and see what happens?
>
> Or maybe this is better idea? It may break build somewhere, but it
> should be easy to fix... (it builds here, i386 and x86-64).

Looks correct to me, thus ACK.

Spinning that a little further I wonder how useful the rest of the
Alchemy code - which seems to only deal with devices - is. If at all.
I'm going to check with some Alchemy users if that code actually works or
can be removed. I think the latter. Also there is the APM emulation
available which provides similar functionality.

Ralf
--
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/