android_kernel_motorola_sm6225/drivers/base/power
Rafael J. Wysocki 57eee3d23e Driver core: Call device_pm_add() after bus_add_device() in device_add()
Include dpm_sysfs_add() into device_pm_add(), in analogy with
device_pm_remove(), and modify device_add() to call the latter after
bus_add_device(), to avoid situations in which the PM core may
attempt to suspend a device the registration of which has not been
successful.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-04-19 19:10:24 -07:00
..
main.c Driver core: Call device_pm_add() after bus_add_device() in device_add() 2008-04-19 19:10:24 -07:00
Makefile PM: Make PM_TRACE more architecture independent 2008-02-01 18:30:54 -05:00
power.h PM: Handle device registrations during suspend/resume 2008-04-19 19:10:24 -07:00
sysfs.c PM: Remove deprecated sysfs files 2007-07-18 15:49:49 -07:00
trace.c pm_trace displays the wrong time from the RTC 2007-10-18 14:37:19 -07:00