linux/drivers/base/power
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
..
main.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
Makefile PM: Make PM_TRACE more architecture independent 2008-02-01 18:30:54 -05:00
power.h 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
sysfs.c PCI ACPI: Rework PCI handling of wake-up 2008-07-07 16:26:28 -07:00
trace.c driver core: fix a lot of printk usages of bus_id 2008-07-21 21:54:53 -07:00