forked from Minki/linux
e6c5eb9541
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> |
||
---|---|---|
.. | ||
board-2430sdp.c | ||
board-apollon.c | ||
board-generic.c | ||
board-h4.c | ||
clock.c | ||
clock.h | ||
devices.c | ||
gpmc.c | ||
id.c | ||
io.c | ||
irq.c | ||
Kconfig | ||
mailbox.c | ||
Makefile | ||
Makefile.boot | ||
memory.c | ||
memory.h | ||
mux.c | ||
pm-domain.c | ||
pm.c | ||
prcm-regs.h | ||
prcm.c | ||
serial.c | ||
sleep.S | ||
sram-fn.S | ||
timer-gp.c | ||
usb-tusb6010.c |