From: Rafael J. Wysocki Date: Sun, 17 Jun 2007 17:48:06 +0000 (+0200) Subject: PM: Remove prev_state from struct dev_pm_info X-Git-Tag: v2.6.23-rc1~1107^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=515c53576299e32d6bdb6295cfa2fe1307516eb4;p=pandora-kernel.git PM: Remove prev_state from struct dev_pm_info The prev_state member of struct dev_pm_info (defined in include/linux/pm.h) is only used during a resume to check if the device's state before the suspend was 'off', in which case the device is not resumed. However, in such cases the decision whether or not to resume the device should be made on the driver level and the resume callbacks from the device's bus and class should be executed anyway (the may be needed for some things other than just powering on the device). Signed-off-by: Rafael J. Wysocki Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed