From: Jean Pihet Date: Thu, 25 Aug 2011 13:35:34 +0000 (+0200) Subject: PM QoS: Generalize and export constraints management code X-Git-Tag: v3.2-rc1~178^2~22^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abe98ec2d86279fe821c9051003a0abc43444f15;p=pandora-kernel.git PM QoS: Generalize and export constraints management code In preparation for the per-device constratins support: - rename update_target to pm_qos_update_target - generalize and export pm_qos_update_target for usage by the upcoming per-device latency constraints framework: * operate on struct pm_qos_constraints for constraints management, * introduce an 'action' parameter for constraints add/update/remove, * the return value indicates if the aggregated constraint value has changed, - update the internal code to operate on struct pm_qos_constraints - add a NULL pointer check in the API functions Signed-off-by: Jean Pihet Reviewed-by: Kevin Hilman Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed