PM: Introduce struct pm_subsys_data
authorRafael J. Wysocki <rjw@sisk.pl>
Thu, 25 Aug 2011 13:33:50 +0000 (15:33 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Thu, 25 Aug 2011 13:33:50 +0000 (15:33 +0200)
commit5c095a0e0d600d5a5a4207eaadabd18db46395ce
tree18163d773234898e71c22d83b265a1eccfba11d9
parent111058c3ff29a6a25216b31789046c2a330baa7d
PM: Introduce struct pm_subsys_data

Introduce struct pm_subsys_data that may be subclassed by subsystems
to store subsystem-specific information related to the device.  Move
the clock management fields accessed through the power.subsys_data
pointer in struct device to the new strucutre.

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