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:
Rafael J. Wysocki 2011-05-24 23:35:55 +02:00
parent 4e2d9491a7
commit 354258011e
10 changed files with 0 additions and 53 deletions

View file

@ -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, "