linux/drivers/base
Alan Stern 3b98aeaf3a PM: don't skip device PM init when CONFIG_PM_SLEEP isn't set and CONFIG_PM is set
This patch (as1124) fixes a couple of bugs in the PM core.  The new
dev->power.status field should be initialized regardless of whether
CONFIG_PM_SLEEP is enabled, and similarly dpm_sysfs_add() should be
called whenever CONFIG_PM is enabled.

The patch separates out the call to dpm_sysfs_add() from the call to
device_pm_add().  As a result device_pm_add() can no longer return an
error, so its return type is changed to void.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Tested-by: Romit Dasgupta <romit@ti.com>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-08-21 10:15:36 -07:00
..
power PM: don't skip device PM init when CONFIG_PM_SLEEP isn't set and CONFIG_PM is set 2008-08-21 10:15:36 -07:00
attribute_container.c
base.h class: change internal semaphore to a mutex 2008-07-21 21:54:52 -07:00
bus.c
class.c driver model: anti-oopsing medicine 2008-08-21 10:15:36 -07:00
core.c PM: don't skip device PM init when CONFIG_PM_SLEEP isn't set and CONFIG_PM is set 2008-08-21 10:15:36 -07:00
cpu.c Merge branch 'cpus4096-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2008-07-23 18:37:44 -07:00
dd.c
devres.c
dma-mapping.c
driver.c drivers/base/driver.c: remove unused to_dev() macro 2008-08-21 10:15:35 -07:00
firmware_class.c firmware: use memory_read_from_buffer() 2008-07-25 10:53:44 -07:00
firmware.c
hypervisor.c
init.c
isa.c isa: set 24-bit dma_mask for ISA devices 2008-07-26 12:00:02 -07:00
Kconfig always enable FW_LOADER unless EMBEDDED=y 2008-07-21 21:54:58 -07:00
Makefile
map.c
memory.c more sysdev API change fallout - drivers/base/memory.c 2008-07-28 08:31:58 -07:00
module.c
node.c sysdev: Pass the attribute to the low level sysdev show/store function 2008-07-21 21:55:02 -07:00
platform.c Implement new suspend and hibernation callbacks for platform busses 2008-06-10 10:59:51 -07:00
sys.c Use WARN() in drivers/base/ 2008-07-26 12:00:07 -07:00
topology.c sysdev: Pass the attribute to the low level sysdev show/store function 2008-07-21 21:55:02 -07:00
transport_class.c