Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pm_qos: spelling fixes

A documentation cleanup patch. With a minor tweak to clarify units for
kbs.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: mark gross <mgross@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Richard Hughes and committed by
Linus Torvalds
bf1db69f 7c44319d

+15 -10
+6 -1
Documentation/power/pm_qos_interface.txt
··· 1 - PM quality of Service interface. 1 + PM Quality Of Service Interface. 2 2 3 3 This interface provides a kernel and user mode interface for registering 4 4 performance expectations by drivers, subsystems and user space applications on ··· 6 6 7 7 Currently we have {cpu_dma_latency, network_latency, network_throughput} as the 8 8 initial set of pm_qos parameters. 9 + 10 + Each parameters have defined units: 11 + * latency: usec 12 + * timeout: usec 13 + * throughput: kbs (kilo bit / sec) 9 14 10 15 The infrastructure exposes multiple misc device nodes one per implemented 11 16 parameter. The set of parameters implement is defined by pm_qos_power_init()
+1 -1
include/linux/pm_qos_params.h
··· 1 1 /* interface for the pm_qos_power infrastructure of the linux kernel. 2 2 * 3 - * Mark Gross 3 + * Mark Gross <mgross@linux.intel.com> 4 4 */ 5 5 #include <linux/list.h> 6 6 #include <linux/notifier.h>
+8 -8
kernel/pm_qos_params.c
··· 24 24 * requirement that the application has is cleaned up when closes the file 25 25 * pointer or exits the pm_qos_object will get an opportunity to clean up. 26 26 * 27 - * mark gross mgross@linux.intel.com 27 + * Mark Gross <mgross@linux.intel.com> 28 28 */ 29 29 30 30 #include <linux/pm_qos_params.h> ··· 211 211 * @value: defines the qos request 212 212 * 213 213 * This function inserts a new entry in the pm_qos_class list of requested qos 214 - * performance charactoistics. It recomputes the agregate QoS expectations for 215 - * the pm_qos_class of parrameters. 214 + * performance characteristics. It recomputes the aggregate QoS expectations 215 + * for the pm_qos_class of parameters. 216 216 */ 217 217 int pm_qos_add_requirement(int pm_qos_class, char *name, s32 value) 218 218 { ··· 250 250 * @name: identifies the request 251 251 * @value: defines the qos request 252 252 * 253 - * Updates an existing qos requierement for the pm_qos_class of parameters along 253 + * Updates an existing qos requirement for the pm_qos_class of parameters along 254 254 * with updating the target pm_qos_class value. 255 255 * 256 - * If the named request isn't in the lest then no change is made. 256 + * If the named request isn't in the list then no change is made. 257 257 */ 258 258 int pm_qos_update_requirement(int pm_qos_class, char *name, s32 new_value) 259 259 { ··· 287 287 * @pm_qos_class: identifies which list of qos request to us 288 288 * @name: identifies the request 289 289 * 290 - * Will remove named qos request from pm_qos_class list of parrameters and 290 + * Will remove named qos request from pm_qos_class list of parameters and 291 291 * recompute the current target value for the pm_qos_class. 292 292 */ 293 293 void pm_qos_remove_requirement(int pm_qos_class, char *name) ··· 319 319 * @notifier: notifier block managed by caller. 320 320 * 321 321 * will register the notifier into a notification chain that gets called 322 - * uppon changes to the pm_qos_class target value. 322 + * upon changes to the pm_qos_class target value. 323 323 */ 324 324 int pm_qos_add_notifier(int pm_qos_class, struct notifier_block *notifier) 325 325 { ··· 338 338 * @notifier: notifier block to be removed. 339 339 * 340 340 * will remove the notifier from the notification chain that gets called 341 - * uppon changes to the pm_qos_class target value. 341 + * upon changes to the pm_qos_class target value. 342 342 */ 343 343 int pm_qos_remove_notifier(int pm_qos_class, struct notifier_block *notifier) 344 344 {