Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 35425801 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki
Browse files

PM / Hibernate: Remove arch_prepare_suspend()



All architectures supporting hibernation define
arch_prepare_suspend() as an empty function, so remove it.

Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
parent 4e2d9491
Loading
Loading
Loading
Loading

arch/frv/include/asm/suspend.h

deleted100644 → 0
+0 −20
Original line number Diff line number Diff line
/* suspend.h: suspension stuff
 *
 * Copyright (C) 2004 Red Hat, Inc. All Rights Reserved.
 * Written by David Howells (dhowells@redhat.com)
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version
 * 2 of the License, or (at your option) any later version.
 */

#ifndef _ASM_SUSPEND_H
#define _ASM_SUSPEND_H

static inline int arch_prepare_suspend(void)
{
	return 0;
}

#endif /* _ASM_SUSPEND_H */
+0 −2
Original line number Diff line number Diff line
#ifndef __ASM_SUSPEND_H
#define __ASM_SUSPEND_H

static inline int arch_prepare_suspend(void) { return 0; }

/* References to section boundaries */
extern const void __nosave_begin, __nosave_end;

+0 −6
Original line number Diff line number Diff line
#ifndef __ASM_POWERPC_SUSPEND_H
#define __ASM_POWERPC_SUSPEND_H

static inline int arch_prepare_suspend(void) { return 0; }

#endif /* __ASM_POWERPC_SUSPEND_H */
+0 −1
Original line number Diff line number Diff line
@@ -10,7 +10,6 @@
 */

#include <linux/sched.h>
#include <asm/suspend.h>
#include <asm/system.h>
#include <asm/current.h>
#include <asm/mmu_context.h>

arch/s390/include/asm/suspend.h

deleted100644 → 0
+0 −10
Original line number Diff line number Diff line
#ifndef __ASM_S390_SUSPEND_H
#define __ASM_S390_SUSPEND_H

static inline int arch_prepare_suspend(void)
{
	return 0;
}

#endif
Loading