]> 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)
commitcefafa7024d7350bc36db062d5266f3df5a7e4c6
tree9a2c7c3411cfcf485f17fec985c646ee90390d02
parent5c1e7cab998b66bf7e39a0af143b865c244c1c9c
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