android_kernel_xiaomi_sm8350/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
..
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
Kconfig
lite5200_pm.c PM: Rework struct platform_suspend_ops 2007-10-18 14:37:18 -07:00
lite5200_sleep.S
lite5200.c Lite5200 shouldn't mess with ROOT_DEV 2007-10-14 08:56:33 -07:00
Makefile
mpc52xx_common.c [POWERPC] MPC5200: Don't make firmware fixups into common code 2007-10-10 10:22:04 -06:00
mpc52xx_pci.c
mpc52xx_pic.c [POWERPC] MPC52xx: Trim includes on mpc5200 platform support code 2007-10-10 09:52:00 -06:00
mpc52xx_pic.h
mpc52xx_pm.c PM: Rework struct platform_suspend_ops 2007-10-18 14:37:18 -07:00
mpc52xx_sleep.S