PM core: rename suspend and resume functions
This patch (as1241) renames a bunch of functions in the PM core. Rather than go through a boring list of name changes, suffice it to say that in the end we have a bunch of pairs of functions: device_resume_noirq dpm_resume_noirq device_resume dpm_resume device_complete dpm_complete device_suspend_noirq dpm_suspend_noirq device_suspend dpm_suspend device_prepare dpm_prepare in which device_X does the X operation on a single device and dpm_X invokes device_X for all devices in the dpm_list. In addition, the old dpm_power_up and device_resume_noirq have been combined into a single function (dpm_resume_noirq). Lastly, dpm_suspend_start and dpm_resume_end are the renamed versions of the former top-level device_suspend and device_resume routines. Signed-off-by:Alan Stern <stern@rowland.harvard.edu> Acked-by:
Magnus Damm <damm@igel.co.jp> Signed-off-by:
Rafael J. Wysocki <rjw@sisk.pl>
Showing
- arch/x86/kernel/apm_32.c 7 additions, 7 deletionsarch/x86/kernel/apm_32.c
- drivers/base/power/main.c 34 additions, 46 deletionsdrivers/base/power/main.c
- drivers/xen/manage.c 8 additions, 8 deletionsdrivers/xen/manage.c
- include/linux/pm.h 5 additions, 6 deletionsinclude/linux/pm.h
- kernel/kexec.c 7 additions, 7 deletionskernel/kexec.c
- kernel/power/disk.c 15 additions, 15 deletionskernel/power/disk.c
- kernel/power/main.c 4 additions, 4 deletionskernel/power/main.c
Loading
Please register or sign in to comment