android_kernel_xiaomi_sm8350/drivers/base/power
Rafael J. Wysocki b844eba292 PM: Remove destroy_suspended_device()
After 2.6.24 there was a plan to make the PM core acquire all device
semaphores during a suspend/hibernation to protect itself from
concurrent operations involving device objects.  That proved to be
too heavy-handed and we found a better way to achieve the goal, but
before it happened, we had introduced the functions
device_pm_schedule_removal() and destroy_suspended_device() to allow
drivers to "safely" destroy a suspended device and we had adapted some
drivers to use them.  Now that these functions are no longer necessary,
it seems reasonable to remove them and modify their users to use the
normal device unregistration instead.

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:28 -07:00
..
main.c PM: Remove destroy_suspended_device() 2008-04-19 19:10:28 -07:00
Makefile
power.h PM: Handle device registrations during suspend/resume 2008-04-19 19:10:24 -07:00
sysfs.c PM: Make wakeup flags available whenever CONFIG_PM is set 2008-04-19 19:10:25 -07:00
trace.c