login
Header Space

 
 

pm_register() and pm_send_all()

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Rafael J. Wysocki <rjw@...>, Pavel Machek <pavel@...>
Cc: <linux-kernel@...>, Ingo Molnar <mingo@...>, Thomas Gleixner <tglx@...>, Ralf Baechle <ralf@...>, David Howells <dhowells@...>
Date: Wednesday, March 12, 2008 - 6:00 pm

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?

Thanks.

(I almost have a warning-free x86_64 allmodconfig, but the one in
drivers/message/i2o/i2o_config.c is going to be a problem).

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
pm_register() and pm_send_all(), Andrew Morton, (Wed Mar 12, 6:00 pm)
Re: pm_register() and pm_send_all(), David Howells, (Thu Mar 13, 8:31 am)
Re: pm_register() and pm_send_all(), Pavel Machek, (Thu Mar 13, 2:05 pm)
Re: pm_register() and pm_send_all(), Andrew Morton, (Thu Mar 13, 2:26 pm)
Re: pm_register() and pm_send_all(), Pavel Machek, (Fri Mar 14, 4:04 am)
Re: pm_register() and pm_send_all(), Andrew Morton, (Thu Mar 13, 12:07 pm)
Re: pm_register() and pm_send_all(), Pavel Machek, (Thu Mar 13, 5:28 am)
Re: pm_register() and pm_send_all(), Ingo Molnar, (Fri Mar 21, 7:42 am)
Re: pm_register() and pm_send_all(), Rafael J. Wysocki, (Thu Mar 13, 4:54 pm)
Re: pm_register() and pm_send_all(), Pavel Machek, (Thu Mar 13, 5:04 pm)
Re: pm_register() and pm_send_all(), Ralf Baechle, (Thu Mar 13, 8:28 am)
Re: pm_register() and pm_send_all(), Ralf Baechle, (Thu Mar 13, 10:19 am)
Re: pm_register() and pm_send_all(), Pavel Machek, (Thu Mar 13, 2:06 pm)
Re: pm_register() and pm_send_all(), Rafael J. Wysocki, (Wed Mar 12, 6:54 pm)
speck-geostationary