android_kernel_xiaomi_sm8350/arch/powerpc/platforms
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
..
8xx [POWERPC] 8xx/wrapper: Embedded Planet EP88xC support 2007-10-04 11:02:40 -05:00
40x [POWERPC] 4xx: Add AMCC Kilauea eval board support to platforms/40x 2007-10-11 15:01:50 -05:00
44x Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2007-10-11 21:55:47 -07:00
52xx PM: Rework struct platform_suspend_ops 2007-10-18 14:37:18 -07:00
82xx [POWERPC] mpc82xx: Add pq2fads board support. 2007-10-04 11:02:47 -05:00
83xx [POWERPC] QEIC: Implement pluggable handlers, fix MPIC cascading 2007-10-08 08:38:57 -05:00
85xx [POWERPC] 85xx: Killed <asm/mpc85xx.h> 2007-10-11 09:14:31 -05:00
86xx [POWERPC] 85xx/86xx: refactor RSTCR reset code 2007-10-08 08:38:47 -05:00
cell Slab API: remove useless ctor parameter and reorder parameters 2007-10-17 08:42:45 -07:00
celleb [POWERPC] Use 1TB segments 2007-10-12 14:05:17 +10:00
chrp [POWERPC] Platforms shouldn't mess with ROOT_DEV 2007-10-11 20:40:43 +10:00
embedded6xx [POWERPC] Use for_each_ matching routinues for pci PHBs 2007-10-08 08:38:40 -05:00
iseries [POWERPC] Fix iSeries_hpte_insert prototype 2007-10-17 22:30:08 +10:00
maple [POWERPC] maple pci_ops: Use named structure member initializers 2007-08-17 11:01:53 +10:00
pasemi pcmcia: CompactFlash driver for PA Semi Electra boards 2007-10-17 08:42:48 -07:00
powermac Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq 2007-10-12 15:42:01 -07:00
prep [POWERPC] Split several platforms into their respective Kconfig file 2007-03-22 10:07:32 -05:00
ps3 PS3: sg chaining support 2007-10-16 11:27:31 +02:00
pseries [POWERPC] Use 1TB segments 2007-10-12 14:05:17 +10:00
fsl_uli1575.c [POWERPC] Fix interrupt routing and setup of ULI M1575 on FSL boards 2007-08-17 13:22:16 -05:00
Kconfig Merge branch 'for-2.6.24' of git://git.secretlab.ca/git/linux-2.6-mpc52xx into merge 2007-10-17 22:31:13 +10:00
Kconfig.cputype [POWERPC] rheap: Changes config mechanism 2007-10-16 17:09:21 -06:00
Makefile [POWERPC] Walnut board support 2007-09-07 07:51:24 -05:00