PM: QoS: Get rid of unused flags
authorAmit Kucheria <amit.kucheria@linaro.org>
Thu, 11 Jul 2019 14:21:25 +0000 (19:51 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 20 Aug 2019 22:38:54 +0000 (00:38 +0200)
commitc3082a674f46fe49383b157882c41dfabaa37113
tree578b8d8283b55b4368de4d5f47842a3c257e90e3
parentd1abaeb3be7b5fa6d7a1fbbd2e14e3310005c4c1
PM: QoS: Get rid of unused flags

The network_latency and network_throughput flags for PM-QoS have not
found much use in drivers or in userspace since they were introduced.

Commit 4a733ef1bea7 ("mac80211: remove PM-QoS listener") removed the
only user PM_QOS_NETWORK_LATENCY in the kernel a while ago and there
don't seem to be any userspace tools using the character device files
either.

PM_QOS_MEMORY_BANDWIDTH was never even added to the trace events.

Remove all the flags except cpu_dma_latency.

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Documentation/power/pm_qos_interface.rst
include/linux/pm_qos.h
include/trace/events/power.h
kernel/power/qos.c