]> git.baikalelectronics.ru Git - kernel.git/commit
PM / Runtime: Add subsystem data field to struct dev_pm_info
authorRafael J. Wysocki <rjw@sisk.pl>
Thu, 28 Apr 2011 22:36:53 +0000 (00:36 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Thu, 28 Apr 2011 22:36:53 +0000 (00:36 +0200)
commita53b4a5d00e80702bc8f2eb419e59550df443bda
tree9a2c7c3411cfcf485f17fec985c646ee90390d02
parent35e8f9fcc24ff8c11fd23c51a54bb8ab4209f658
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