diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2017-02-22 03:28:52 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-02-23 17:05:58 -0500 |
commit | d08d1b27fe2a7f6923952613f5fab56ae47a6f5b (patch) | |
tree | cf82606bab0956cd4cf48ada2aa2cff2addbca4a /Documentation/power | |
parent | e84b4a84e52d4cd8770b4242cd09df0133333f63 (diff) |
PM / QoS: Remove global notifiers
They were never used in the kernel, so get rid of them.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Documentation/power')
-rw-r--r-- | Documentation/power/pm_qos_interface.txt | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/Documentation/power/pm_qos_interface.txt b/Documentation/power/pm_qos_interface.txt index 129f7c0e1483..21d2d48f87a2 100644 --- a/Documentation/power/pm_qos_interface.txt +++ b/Documentation/power/pm_qos_interface.txt | |||
@@ -163,8 +163,7 @@ of flags and remove sysfs attributes pm_qos_no_power_off and pm_qos_remote_wakeu | |||
163 | under the device's power directory. | 163 | under the device's power directory. |
164 | 164 | ||
165 | Notification mechanisms: | 165 | Notification mechanisms: |
166 | The per-device PM QoS framework has 2 different and distinct notification trees: | 166 | The per-device PM QoS framework has a per-device notification tree. |
167 | a per-device notification tree and a global notification tree. | ||
168 | 167 | ||
169 | int dev_pm_qos_add_notifier(device, notifier): | 168 | int dev_pm_qos_add_notifier(device, notifier): |
170 | Adds a notification callback function for the device. | 169 | Adds a notification callback function for the device. |
@@ -174,16 +173,6 @@ is changed (for resume latency device PM QoS only). | |||
174 | int dev_pm_qos_remove_notifier(device, notifier): | 173 | int dev_pm_qos_remove_notifier(device, notifier): |
175 | Removes the notification callback function for the device. | 174 | Removes the notification callback function for the device. |
176 | 175 | ||
177 | int dev_pm_qos_add_global_notifier(notifier): | ||
178 | Adds a notification callback function in the global notification tree of the | ||
179 | framework. | ||
180 | The callback is called when the aggregated value for any device is changed | ||
181 | (for resume latency device PM QoS only). | ||
182 | |||
183 | int dev_pm_qos_remove_global_notifier(notifier): | ||
184 | Removes the notification callback function from the global notification tree | ||
185 | of the framework. | ||
186 | |||
187 | 176 | ||
188 | Active state latency tolerance | 177 | Active state latency tolerance |
189 | 178 | ||