android_kernel_xiaomi_sm8350/arch/blackfin
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
..
boot
configs Blackfin arch: Board defconfig updating 2007-10-11 00:03:39 +08:00
kernel Consolidate PTRACE_DETACH 2007-10-16 09:42:49 -07:00
lib Blackfin arch: revise anomaly handling by basing things on the compiler not the kconfig defines 2007-07-25 11:19:14 +08:00
mach-bf533 Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq 2007-10-12 15:42:01 -07:00
mach-bf537 USB: re-remove <linux/usb_sl811.h> 2007-10-12 14:55:31 -07:00
mach-bf548 Input: add support for Blackfin BF54x Keypad controller 2007-10-13 00:36:46 -04:00
mach-bf561 Blackfin arch: Print out debug info, as early as possible 2007-10-09 17:31:46 +08:00
mach-common PM: Rework struct platform_suspend_ops 2007-10-18 14:37:18 -07:00
mm Blackfin arch: show_mem can not be marked as init, since it is called during OOM condition 2007-10-10 17:25:15 +08:00
oprofile Blackfin arch: use the [CS]SYNC() macros which include anomaly workarounds rather than __builtin_bfin_[cs]sync() 2007-07-25 11:57:42 +08:00
Kconfig kconfig: syntax cleanup - drop support for "depends/requires/def_boolean" 2007-10-12 21:20:32 +02:00
Makefile kbuild: enable 'make AFLAGS=...' to add additional options to AS 2007-10-15 21:59:31 +02:00