PM: do not use saved_state from struct dev_pm_info on ARM
authorRafael J. Wysocki <rjw@sisk.pl>
Mon, 9 Jul 2007 18:39:19 +0000 (11:39 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 Jul 2007 23:09:02 +0000 (16:09 -0700)
commit93160c6397e460bc4c7ac15323fb698f91ef02e5
treea05bdf42947b72dd4fc6458a9325a6af9ffcbf8b
parent43a49f8baa6b0e7e5b68ed0ee141e1efacfd9ae6
PM: do not use saved_state from struct dev_pm_info on ARM

The saved_state member of 'struct dev_pm_info' that's going to be removed
is used in arch/arm/common/locomo.c, arch/arm/common/sa1111.c and
arch/arm/mach-sa1100/neponset.c.  Change the code in there to use local
variables for saving the state of devices during suspend.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Greg KH <greg@kroah.com>
Cc: David Brownell <david-b@pacbell.net>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/arm/common/locomo.c
arch/arm/common/sa1111.c
arch/arm/mach-sa1100/neponset.c