aha/arch/arm/mach-pnx4008
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
..
clock.c [WATCHDOG] pnx4008: add watchdog support 2006-10-02 23:02:37 +02:00
clock.h [ARM] 3466/1: [2/3] Support for Philips PNX4008 platform: chip support 2006-06-18 16:16:55 +01:00
core.c [ARM] 3857/2: pnx4008: add devices' registration 2006-11-09 15:38:44 +00:00
dma.c Initial blind fixup for arm for irq changes 2006-10-06 10:59:54 -07:00
gpio.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
i2c.c i2c: New Philips PNX bus driver 2006-12-10 21:21:29 +01:00
irq.c [ARM] Remove compatibility layer for ARM irqs 2006-11-30 12:24:47 +00:00
Makefile i2c: New Philips PNX bus driver 2006-12-10 21:21:29 +01:00
Makefile.boot [ARM] 3466/1: [2/3] Support for Philips PNX4008 platform: chip support 2006-06-18 16:16:55 +01:00
pm.c power management: implement pm_ops.valid for everybody 2007-04-30 16:40:40 -07:00
serial.c [ARM] 3623/1: pnx4008: move GPIO-related defines to gpio.h 2006-06-22 10:26:21 +01:00
sleep.S Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
time.c Initial blind fixup for arm for irq changes 2006-10-06 10:59:54 -07:00