PM: Remove device_type suspend()/resume()
authorMagnus Damm <damm@igel.co.jp>
Thu, 4 Jun 2009 20:13:25 +0000 (22:13 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Fri, 12 Jun 2009 19:32:32 +0000 (21:32 +0200)
commit00725787511e20dbd1fdc1fb233606120ae5c8cf
tree82fa3c48aca074a993a122751a2333000e1668a3
parentfe419535d82724314bbf1244a0e740e4ea1bd3ae
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>
drivers/base/power/main.c
include/linux/device.h