android_kernel_xiaomi_sm8350/arch/arm/mach-omap2
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
..
board-2430sdp.c ARM: OMAP: Add minimal OMAP2430 support 2007-09-20 09:59:20 -07:00
board-apollon.c ARM: OMAP: Board Apollon update, fix boot 2007-09-20 09:59:19 -07:00
board-generic.c
board-h4.c ARM: OMAP: abstract debug card setup (smc, leds) 2007-09-20 09:59:20 -07:00
clock.c
clock.h
devices.c ARM: OMAP: Add minimal OMAP2430 support 2007-09-20 09:59:20 -07:00
gpmc.c ARM: OMAP: Merge gpmc changes from N800 tree 2007-09-20 09:59:26 -07:00
id.c ARM: OMAP: Add minimal OMAP2430 support 2007-09-20 09:59:20 -07:00
io.c ARM: OMAP: Add minimal OMAP2430 support 2007-09-20 09:59:20 -07:00
irq.c ARM: OMAP: Optimize INTC register accesses and enable autoidling 2007-09-20 09:59:19 -07:00
Kconfig ARM: OMAP: Add minimal OMAP2430 support 2007-09-20 09:59:20 -07:00
mailbox.c
Makefile ARM: OMAP: Add minimal OMAP2430 support 2007-09-20 09:59:20 -07:00
Makefile.boot
memory.c ARM: OMAP: omap2/memory.c compile fixes 2007-09-20 09:59:20 -07:00
memory.h
mux.c ARM: OMAP: Tabify mux.c 2007-09-20 09:59:20 -07:00
pm-domain.c
pm.c PM: Rework struct platform_suspend_ops 2007-10-18 14:37:18 -07:00
prcm-regs.h
prcm.c
serial.c ARM: OMAP: Enable serial idling and wakeup features 2007-08-22 00:42:52 -07:00
sleep.S
sram-fn.S
timer-gp.c
usb-tusb6010.c ARM: OMAP: TUSB EVM init 2007-09-20 09:59:21 -07:00