PM QoS: Reorganize data structs
authorJean Pihet <j-pihet@ti.com>
Thu, 25 Aug 2011 13:35:27 +0000 (15:35 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Thu, 25 Aug 2011 13:35:27 +0000 (15:35 +0200)
commit4e1779baaa542c83b459b0a56585e0c1a04c7782
tree0708390d5e00c000d97b89e846a94a7006249521
parent4a31a33425a1eb92f6a0b9846f081842268361c8
PM QoS: Reorganize data structs

In preparation for the per-device constratins support, re-organize
the data strctures:
 - add a struct pm_qos_constraints which contains the constraints
 related data
 - update struct pm_qos_object contents to the PM QoS internal object
 data. Add a pointer to struct pm_qos_constraints
 - update the internal code to use the new data structs.

Signed-off-by: Jean Pihet <j-pihet@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
include/linux/pm_qos.h
kernel/power/qos.c