PM: Rename device_power_down/up()
authorMagnus Damm <damm@igel.co.jp>
Thu, 14 May 2009 22:53:26 +0000 (00:53 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Fri, 12 Jun 2009 19:32:31 +0000 (21:32 +0200)
commite39a71ef80877f4e30d808af9acceec80f4d2f7c
treee9d4ff1618328cf3a3fafee04621b9776ca169de
parent1380a37e3da5d9e14ea5c2a4c6ab2b307a2798ea
PM: Rename device_power_down/up()

Rename the functions performing "_noirq" dev_pm_ops
operations from device_power_down() and device_power_up()
to device_suspend_noirq() and device_resume_noirq().

The new function names are chosen to show that the functions
are responsible for calling the _noirq() versions to finalize
the suspend/resume operation. The current function names do
not perform power down/up anymore so the names may be misleading.

Global function renames:
- device_power_down() -> device_suspend_noirq()
- device_power_up() -> device_resume_noirq()

Static function renames:
- suspend_device_noirq() -> __device_suspend_noirq()
- resume_device_noirq() -> __device_resume_noirq()

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Acked-by: Len Brown <lenb@kernel.org>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
arch/x86/kernel/apm_32.c
drivers/base/power/main.c
drivers/xen/manage.c
include/linux/pm.h
kernel/kexec.c
kernel/power/disk.c
kernel/power/main.c