1
0
Fork 0
alistair23-linux/arch/powerpc/platforms/52xx
Rafael J. Wysocki e6c5eb9541 PM: Rework struct platform_suspend_ops
There is no reason why the .prepare() and .finish() methods in 'struct
platform_suspend_ops' should take any arguments, since architectures don't use
these methods' argument in any practically meaningful way (ie.  either the
target system sleep state is conveyed to the platform by .set_target(), or
there is only one suspend state supported and it is indicated to the PM core
by .valid(), or .prepare() and .finish() aren't defined at all).   There also
is no reason why .finish() should return any result.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Cc: Len Brown <lenb@kernel.org>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-18 14:37:18 -07:00
..
Kconfig [POWERPC] clk.h interface for platforms 2007-10-03 09:11:56 +10:00
Makefile [POWERPC] MPC5200 low power mode 2007-09-19 15:25:34 +10:00
efika.c Merge branch 'for-2.6.24' of git://git.secretlab.ca/git/linux-2.6-mpc52xx into for-2.6.24 2007-10-12 08:40:13 +10:00
lite5200.c Lite5200 shouldn't mess with ROOT_DEV 2007-10-14 08:56:33 -07:00
lite5200_pm.c PM: Rework struct platform_suspend_ops 2007-10-18 14:37:18 -07:00
lite5200_sleep.S [POWERPC] MPC5200 low power mode 2007-09-19 15:25:34 +10:00
mpc52xx_common.c [POWERPC] MPC5200: Don't make firmware fixups into common code 2007-10-10 10:22:04 -06:00
mpc52xx_pci.c [POWERPC] Merge ppc32 and ppc64 pcibios_alloc_controller() prototypes 2007-06-29 01:58:39 -05:00
mpc52xx_pic.c [POWERPC] MPC52xx: Trim includes on mpc5200 platform support code 2007-10-10 09:52:00 -06:00
mpc52xx_pic.h [POWERPC] Separate IRQ config / register set from main header 2006-12-04 20:41:41 +11:00
mpc52xx_pm.c PM: Rework struct platform_suspend_ops 2007-10-18 14:37:18 -07:00
mpc52xx_sleep.S [POWERPC] mpc52xx suspend to deep-sleep 2007-05-07 20:31:15 +10:00