PM / QoS: Prepare struct dev_pm_qos_request for more request types
commit021c870ba4ab4bc9a23d5db4e324f50f26d8ab24
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 22 Oct 2012 23:09:00 +0000 (23 01:09 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 22 Oct 2012 23:09:00 +0000 (23 01:09 +0200)
treeb6e928a4d20ffab16297e0d44de59ee20aaf9c6d
parent5efbe4279f959a3f5ed26adf5f05cb78dd1ffa7e
PM / QoS: Prepare struct dev_pm_qos_request for more request types

The subsequent patches will use struct dev_pm_qos_request for
representing both latency requests and flags requests.  To make that
easier, put the node member of struct dev_pm_qos_request (under the
name "pnode") into a union called "data" that will represent the
request's  value and list node depending on its type.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Jean Pihet <j-pihet@ti.com>
Reviewed-by: mark gross <markgross@thegnar.org>
drivers/base/power/qos.c
drivers/base/power/sysfs.c
include/linux/pm_qos.h