PM / Runtime: Add subsystem data field to struct dev_pm_info
commit1d2b71f61b6a10216274e27b717becf9ae101fc7
authorRafael J. Wysocki <rjw@sisk.pl>
Thu, 28 Apr 2011 22:36:53 +0000 (29 00:36 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Thu, 28 Apr 2011 22:36:53 +0000 (29 00:36 +0200)
tree9a2c7c3411cfcf485f17fec985c646ee90390d02
parent638080c37ae08fd0c44cec13d7948ca5385ae851
PM / Runtime: Add subsystem data field to struct dev_pm_info

Some subsystems need to attach PM-related data to struct device and
they need to use devres for this purpose.  For their convenience
and to make code more straightforward, add a new field called
subsys_data to struct dev_pm_info and let subsystems use it for
attaching PM-related information to devices.

Convert the ARM shmobile platform to using the new field.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
arch/arm/mach-shmobile/pm_runtime.c
include/linux/pm.h