mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 01:21:58 +00:00
PM / Hibernate: Remove arch_prepare_suspend()
All architectures supporting hibernation define arch_prepare_suspend() as an empty function, so remove it. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
This commit is contained in:
parent
4e2d9491a7
commit
354258011e
10 changed files with 0 additions and 53 deletions
|
@ -25,7 +25,6 @@
|
|||
#include <linux/gfp.h>
|
||||
#include <linux/syscore_ops.h>
|
||||
#include <scsi/scsi_scan.h>
|
||||
#include <asm/suspend.h>
|
||||
|
||||
#include "power.h"
|
||||
|
||||
|
@ -244,10 +243,6 @@ static int create_image(int platform_mode)
|
|||
{
|
||||
int error;
|
||||
|
||||
error = arch_prepare_suspend();
|
||||
if (error)
|
||||
return error;
|
||||
|
||||
error = dpm_suspend_noirq(PMSG_FREEZE);
|
||||
if (error) {
|
||||
printk(KERN_ERR "PM: Some devices failed to power down, "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue