kernel_optimize_test/arch/arm/mach-sa1100
Johannes Berg e8c9c50269 power management: implement pm_ops.valid for everybody
Almost all users of pm_ops only support mem sleep, don't check in .valid and
don't reject any others in .prepare so users can be confused if they check
/sys/power/state, especially when new states are added (these would then
result in s-t-r although they're supposed to be something different).

This patch implements a generic pm_valid_only_mem function that is then
exported for users and puts it to use in almost all existing pm_ops.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: David Brownell <david-b@pacbell.net>
Acked-by: Pavel Machek <pavel@ucw.cz>
Cc: linux-pm@lists.linux-foundation.org
Cc: Len Brown <lenb@kernel.org>
Acked-by: Russell King <rmk@arm.linux.org.uk>
Cc: Greg KH <greg@kroah.com>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-04-30 16:40:40 -07:00
..
assabet.c
badge4.c
cerf.c
clock.c
collie_pm.c [ARM] 3723/1: collie charging 2006-07-11 22:56:13 +01:00
collie.c [ARM] 3847/2: Convert LOMOMO to use struct device for GPIOs 2006-09-27 20:58:59 +01:00
cpu-sa1100.c
cpu-sa1110.c [ARM] 3914/1: [Jornada7xx] - Typo Fix in cpu-sa1110.c (b != B) 2006-10-29 21:52:29 +00:00
dma.c Initial blind fixup for arm for irq changes 2006-10-06 10:59:54 -07:00
generic.c [PATCH] gpio_direction_output-needs-an-initial-value fix 2007-03-18 11:35:08 -07:00
generic.h
h3600.c [ARM] Remove compatibility layer for ARM irqs 2006-11-30 12:24:47 +00:00
hackkit.c
irq.c [ARM] Remove compatibility layer for ARM irqs 2006-11-30 12:24:47 +00:00
jornada720.c [ARM] Fix jornada720 build errors 2007-02-20 15:23:57 +00:00
Kconfig
lart.c
leds-assabet.c
leds-badge4.c
leds-cerf.c
leds-hackkit.c
leds-lart.c
leds-simpad.c
leds.c
leds.h
Makefile
Makefile.boot
neponset.c [ARM] Remove compatibility layer for ARM irqs 2006-11-30 12:24:47 +00:00
pleb.c
pm.c power management: implement pm_ops.valid for everybody 2007-04-30 16:40:40 -07:00
shannon.c
simpad.c
sleep.S
ssp.c Initial blind fixup for arm for irq changes 2006-10-06 10:59:54 -07:00
time.c [ARM] 3939/1: don't reset SA11x0 clock counter 2006-11-30 12:52:44 +00:00