linux-stable/drivers/base/power
Dmitry Torokhov f89cbc399e Driver core: add suspend() and resume() to struct device_type
Driver core: add suspend() and resume() to struct device_type

In cases when there are devices of different types in the same class
we can't use class's implementation of suspend and resume methods and
we need to add them to struct device_type instead.

Also fix error handling in resume code (we should not try to call
class's resume method iof bus's resume method for the device failed.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-04-27 10:57:29 -07:00
..
main.c [PATCH] PM: use kobject_name() to access kobject names 2007-04-11 15:39:39 -07:00
Makefile Add some basic resume trace facilities 2006-06-24 14:44:01 -07:00
power.h [PATCH] USB: fix pm patches with CONFIG_PM off part 2 2005-10-28 16:47:52 -07:00
resume.c Driver core: add suspend() and resume() to struct device_type 2007-04-27 10:57:29 -07:00
runtime.c [PATCH] pcmcia: merge suspend into device model 2006-01-06 00:02:03 +01:00
shutdown.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
suspend.c Driver core: add suspend() and resume() to struct device_type 2007-04-27 10:57:29 -07:00
sysfs.c PM: add kconfig option for deprecated .../power/state files 2006-09-25 21:08:37 -07:00
trace.c Add some basic resume trace facilities 2006-06-24 14:44:01 -07:00