PM / QoS: Add type to dev_pm_qos_add_ancestor_request() arguments
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 10 Feb 2014 23:36:00 +0000 (00:36 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 10 Feb 2014 23:36:00 +0000 (00:36 +0100)
commit71d821fdaec08afcbfb3cf258c0d64ea0e336ff3
tree1c743bfedc41b264fb1dbc4f1383c7e9bf001c93
parent1a8f83515c1646e134163f0ab310362fae49fcca
PM / QoS: Add type to dev_pm_qos_add_ancestor_request() arguments

Rework dev_pm_qos_add_ancestor_request() so that device PM QoS type
is passed to it as the third argument and make it support the
DEV_PM_QOS_LATENCY_TOLERANCE device PM QoS type (in addition to
DEV_PM_QOS_RESUME_LATENCY).

That will allow the drivers of devices without latency tolerance
hardware support to use their ancestors having it as proxies for
their latency tolerance requirements.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Documentation/power/pm_qos_interface.txt
drivers/base/power/qos.c
drivers/input/touchscreen/st1232.c
include/linux/pm_qos.h