summaryrefslogtreecommitdiffstats
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2009-06-04 22:13:25 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2009-06-12 21:32:32 +0200
commit00725787511e20dbd1fdc1fb233606120ae5c8cf (patch)
tree82fa3c48aca074a993a122751a2333000e1668a3 /include/linux/device.h
parentfe419535d82724314bbf1244a0e740e4ea1bd3ae (diff)
downloadlinux-00725787511e20dbd1fdc1fb233606120ae5c8cf.tar.gz
linux-00725787511e20dbd1fdc1fb233606120ae5c8cf.tar.bz2
linux-00725787511e20dbd1fdc1fb233606120ae5c8cf.zip
PM: Remove device_type suspend()/resume()
This patch removes the legacy callbacks ->suspend() and ->resume() from struct device_type. These callbacks seem unused, and new code should instead make use of struct dev_pm_ops. Signed-off-by: Magnus Damm <damm@igel.co.jp> Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'include/linux/device.h')
-rw-r--r--include/linux/device.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index 84d79cde9f7d..a4a7b10aaa48 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -289,9 +289,6 @@ struct device_type {
int (*uevent)(struct device *dev, struct kobj_uevent_env *env);
void (*release)(struct device *dev);
- int (*suspend)(struct device *dev, pm_message_t state);
- int (*resume)(struct device *dev);
-
struct dev_pm_ops *pm;
};