Re: pm_register() and pm_send_all()

From: Rafael J. Wysocki
Date: Wed Mar 12 2008 - 18:55:39 EST


On Wednesday, 12 of March 2008, Andrew Morton wrote:
>
> This:
>
> kernel/power/pm.c:203: warning: 'pm_register' is deprecated (declared at kernel/power/pm.c:62)
> kernel/power/pm.c:203: warning: 'pm_register' is deprecated (declared at kernel/power/pm.c:62)
> kernel/power/pm.c:204: warning: 'pm_send_all' is deprecated (declared at kernel/power/pm.c:178)
> kernel/power/pm.c:204: warning: 'pm_send_all' is deprecated (declared at kernel/power/pm.c:178)
>
> is getting a bit boring. These were marked deprecated at least three years
> ago.
>
>
> pm_register() no longer has any callers and afacit can be removed
> immediately.
>
> pm_send_all() has just a handful of callers:
>
> arch/x86/kernel/apm_32.c
> arch/mips/au1000/common/power.c
> arch/frv/kernel/pm.c
>
> could we please get a bit of a push on this? How should these
> pm_send_all() calls be replaced?

Well, I was going to do that some time ago, but I'm not really familiar with
the old code. Some assistance would be welcome.

Thanks,
Rafael
--
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/