]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2b7dc28be96d80729bc3785dd143e5f4525af2f4
tree0708390d5e00c000d97b89e846a94a7006249521
parent46c851afce46b654cad7246bde58d170ce0c5f24
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