Commit 73a3090a2160fb01317f5a44af6ee5a064a29625

Authored by Bob Moore
Committed by Rafael J. Wysocki
1 parent b9e1769357

ACPICA: Remove extra spaces after periods within comments

This makes all comments consistent.

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

Showing 61 changed files with 188 additions and 188 deletions Side-by-side Diff

drivers/acpi/acpica/acglobal.h
... ... @@ -70,7 +70,7 @@
70 70  
71 71 /*
72 72 * Enable "slack" in the AML interpreter? Default is FALSE, and the
73   - * interpreter strictly follows the ACPI specification. Setting to TRUE
  73 + * interpreter strictly follows the ACPI specification. Setting to TRUE
74 74 * allows the interpreter to ignore certain errors and/or bad AML constructs.
75 75 *
76 76 * Currently, these features are enabled by this flag:
drivers/acpi/acpica/aclocal.h
... ... @@ -265,7 +265,7 @@
265 265 acpi_status(*acpi_internal_method) (struct acpi_walk_state * walk_state);
266 266  
267 267 /*
268   - * Bitmapped ACPI types. Used internally only
  268 + * Bitmapped ACPI types. Used internally only
269 269 */
270 270 #define ACPI_BTYPE_ANY 0x00000000
271 271 #define ACPI_BTYPE_INTEGER 0x00000001
... ... @@ -584,7 +584,7 @@
584 584 };
585 585  
586 586 /*
587   - * Thread state - one per thread across multiple walk states. Multiple walk
  587 + * Thread state - one per thread across multiple walk states. Multiple walk
588 588 * states are created when there are nested control methods executing.
589 589 */
590 590 struct acpi_thread_state {
drivers/acpi/acpica/acobject.h
... ... @@ -197,7 +197,7 @@
197 197  
198 198 /******************************************************************************
199 199 *
200   - * Objects that can be notified. All share a common notify_info area.
  200 + * Objects that can be notified. All share a common notify_info area.
201 201 *
202 202 *****************************************************************************/
203 203  
... ... @@ -234,7 +234,7 @@
234 234  
235 235 /******************************************************************************
236 236 *
237   - * Fields. All share a common header/info field.
  237 + * Fields. All share a common header/info field.
238 238 *
239 239 *****************************************************************************/
240 240  
drivers/acpi/acpica/acopcode.h
... ... @@ -54,7 +54,7 @@
54 54 #define _UNK 0x6B
55 55  
56 56 /*
57   - * Reserved ASCII characters. Do not use any of these for
  57 + * Reserved ASCII characters. Do not use any of these for
58 58 * internal opcodes, since they are used to differentiate
59 59 * name strings from AML opcodes
60 60 */
... ... @@ -63,7 +63,7 @@
63 63 #define _PFX 0x6D
64 64  
65 65 /*
66   - * All AML opcodes and the parse-time arguments for each. Used by the AML
  66 + * All AML opcodes and the parse-time arguments for each. Used by the AML
67 67 * parser Each list is compressed into a 32-bit number and stored in the
68 68 * master opcode table (in psopcode.c).
69 69 */
... ... @@ -193,7 +193,7 @@
193 193 #define ARGP_ZERO_OP ARG_NONE
194 194  
195 195 /*
196   - * All AML opcodes and the runtime arguments for each. Used by the AML
  196 + * All AML opcodes and the runtime arguments for each. Used by the AML
197 197 * interpreter Each list is compressed into a 32-bit number and stored
198 198 * in the master opcode table (in psopcode.c).
199 199 *
drivers/acpi/acpica/acstruct.h
... ... @@ -53,7 +53,7 @@
53 53 ****************************************************************************/
54 54  
55 55 /*
56   - * Walk state - current state of a parse tree walk. Used for both a leisurely
  56 + * Walk state - current state of a parse tree walk. Used for both a leisurely
57 57 * stroll through the tree (for whatever reason), and for control method
58 58 * execution.
59 59 */
drivers/acpi/acpica/dscontrol.c
... ... @@ -280,7 +280,7 @@
280 280  
281 281 /*
282 282 * Get the return value and save as the last result
283   - * value. This is the only place where walk_state->return_desc
  283 + * value. This is the only place where walk_state->return_desc
284 284 * is set to anything other than zero!
285 285 */
286 286 walk_state->return_desc = walk_state->operands[0];
drivers/acpi/acpica/dsfield.c
... ... @@ -277,7 +277,7 @@
277 277 *
278 278 * RETURN: Status
279 279 *
280   - * DESCRIPTION: Process all named fields in a field declaration. Names are
  280 + * DESCRIPTION: Process all named fields in a field declaration. Names are
281 281 * entered into the namespace.
282 282 *
283 283 ******************************************************************************/
drivers/acpi/acpica/dsmethod.c
... ... @@ -170,7 +170,7 @@
170 170 *
171 171 * RETURN: Status
172 172 *
173   - * DESCRIPTION: Prepare a method for execution. Parses the method if necessary,
  173 + * DESCRIPTION: Prepare a method for execution. Parses the method if necessary,
174 174 * increments the thread count, and waits at the method semaphore
175 175 * for clearance to execute.
176 176 *
... ... @@ -444,7 +444,7 @@
444 444 * RETURN: Status
445 445 *
446 446 * DESCRIPTION: Restart a method that was preempted by another (nested) method
447   - * invocation. Handle the return value (if any) from the callee.
  447 + * invocation. Handle the return value (if any) from the callee.
448 448 *
449 449 ******************************************************************************/
450 450  
... ... @@ -530,7 +530,7 @@
530 530 *
531 531 * RETURN: None
532 532 *
533   - * DESCRIPTION: Terminate a control method. Delete everything that the method
  533 + * DESCRIPTION: Terminate a control method. Delete everything that the method
534 534 * created, delete all locals and arguments, and delete the parse
535 535 * tree if requested.
536 536 *
drivers/acpi/acpica/dsmthdat.c
... ... @@ -76,7 +76,7 @@
76 76 * RETURN: Status
77 77 *
78 78 * DESCRIPTION: Initialize the data structures that hold the method's arguments
79   - * and locals. The data struct is an array of namespace nodes for
  79 + * and locals. The data struct is an array of namespace nodes for
80 80 * each - this allows ref_of and de_ref_of to work properly for these
81 81 * special data types.
82 82 *
... ... @@ -129,7 +129,7 @@
129 129 *
130 130 * RETURN: None
131 131 *
132   - * DESCRIPTION: Delete method locals and arguments. Arguments are only
  132 + * DESCRIPTION: Delete method locals and arguments. Arguments are only
133 133 * deleted if this method was called from another method.
134 134 *
135 135 ******************************************************************************/
... ... @@ -183,7 +183,7 @@
183 183 *
184 184 * RETURN: Status
185 185 *
186   - * DESCRIPTION: Initialize arguments for a method. The parameter list is a list
  186 + * DESCRIPTION: Initialize arguments for a method. The parameter list is a list
187 187 * of ACPI operand objects, either null terminated or whose length
188 188 * is defined by max_param_count.
189 189 *
... ... @@ -401,7 +401,7 @@
401 401 * This means that either 1) The expected argument was
402 402 * not passed to the method, or 2) A local variable
403 403 * was referenced by the method (via the ASL)
404   - * before it was initialized. Either case is an error.
  404 + * before it was initialized. Either case is an error.
405 405 */
406 406  
407 407 /* If slack enabled, init the local_x/arg_x to an Integer of value zero */
... ... @@ -465,7 +465,7 @@
465 465 *
466 466 * RETURN: None
467 467 *
468   - * DESCRIPTION: Delete the entry at Opcode:Index. Inserts
  468 + * DESCRIPTION: Delete the entry at Opcode:Index. Inserts
469 469 * a null into the stack slot after the object is deleted.
470 470 *
471 471 ******************************************************************************/
... ... @@ -523,7 +523,7 @@
523 523 *
524 524 * RETURN: Status
525 525 *
526   - * DESCRIPTION: Store a value in an Arg or Local. The obj_desc is installed
  526 + * DESCRIPTION: Store a value in an Arg or Local. The obj_desc is installed
527 527 * as the new value for the Arg or Local and the reference count
528 528 * for obj_desc is incremented.
529 529 *
... ... @@ -566,7 +566,7 @@
566 566  
567 567 /*
568 568 * If the reference count on the object is more than one, we must
569   - * take a copy of the object before we store. A reference count
  569 + * take a copy of the object before we store. A reference count
570 570 * of exactly 1 means that the object was just created during the
571 571 * evaluation of an expression, and we can safely use it since it
572 572 * is not used anywhere else.
drivers/acpi/acpica/dsobject.c
... ... @@ -293,7 +293,7 @@
293 293  
294 294 /*
295 295 * Second arg is the buffer data (optional) byte_list can be either
296   - * individual bytes or a string initializer. In either case, a
  296 + * individual bytes or a string initializer. In either case, a
297 297 * byte_list appears in the AML.
298 298 */
299 299 arg = op->common.value.arg; /* skip first arg */
... ... @@ -568,7 +568,7 @@
568 568  
569 569 /*
570 570 * Because of the execution pass through the non-control-method
571   - * parts of the table, we can arrive here twice. Only init
  571 + * parts of the table, we can arrive here twice. Only init
572 572 * the named object node the first time through
573 573 */
574 574 if (acpi_ns_get_attached_object(node)) {
... ... @@ -618,7 +618,7 @@
618 618 * RETURN: Status
619 619 *
620 620 * DESCRIPTION: Initialize a namespace object from a parser Op and its
621   - * associated arguments. The namespace object is a more compact
  621 + * associated arguments. The namespace object is a more compact
622 622 * representation of the Op and its arguments.
623 623 *
624 624 ******************************************************************************/
drivers/acpi/acpica/dsutils.c
... ... @@ -61,7 +61,7 @@
61 61 *
62 62 * RETURN: None.
63 63 *
64   - * DESCRIPTION: Clear and remove a reference on an implicit return value. Used
  64 + * DESCRIPTION: Clear and remove a reference on an implicit return value. Used
65 65 * to delete "stale" return values (if enabled, the return value
66 66 * from every operator is saved at least momentarily, in case the
67 67 * parent method exits.)
... ... @@ -107,7 +107,7 @@
107 107 *
108 108 * DESCRIPTION: Implements the optional "implicit return". We save the result
109 109 * of every ASL operator and control method invocation in case the
110   - * parent method exit. Before storing a new return value, we
  110 + * parent method exit. Before storing a new return value, we
111 111 * delete the previous return value.
112 112 *
113 113 ******************************************************************************/
... ... @@ -198,7 +198,7 @@
198 198 *
199 199 * If there is no parent, or the parent is a scope_op, we are executing
200 200 * at the method level. An executing method typically has no parent,
201   - * since each method is parsed separately. A method invoked externally
  201 + * since each method is parsed separately. A method invoked externally
202 202 * via execute_control_method has a scope_op as the parent.
203 203 */
204 204 if ((!op->common.parent) ||
... ... @@ -223,7 +223,7 @@
223 223 }
224 224  
225 225 /*
226   - * Decide what to do with the result based on the parent. If
  226 + * Decide what to do with the result based on the parent. If
227 227 * the parent opcode will not use the result, delete the object.
228 228 * Otherwise leave it as is, it will be deleted when it is used
229 229 * as an operand later.
... ... @@ -266,7 +266,7 @@
266 266  
267 267 /*
268 268 * These opcodes allow term_arg(s) as operands and therefore
269   - * the operands can be method calls. The result is used.
  269 + * the operands can be method calls. The result is used.
270 270 */
271 271 goto result_used;
272 272  
... ... @@ -284,7 +284,7 @@
284 284 AML_BANK_FIELD_OP)) {
285 285 /*
286 286 * These opcodes allow term_arg(s) as operands and therefore
287   - * the operands can be method calls. The result is used.
  287 + * the operands can be method calls. The result is used.
288 288 */
289 289 goto result_used;
290 290 }
291 291  
... ... @@ -329,9 +329,9 @@
329 329 *
330 330 * RETURN: Status
331 331 *
332   - * DESCRIPTION: Used after interpretation of an opcode. If there is an internal
  332 + * DESCRIPTION: Used after interpretation of an opcode. If there is an internal
333 333 * result descriptor, check if the parent opcode will actually use
334   - * this result. If not, delete the result now so that it will
  334 + * this result. If not, delete the result now so that it will
335 335 * not become orphaned.
336 336 *
337 337 ******************************************************************************/
... ... @@ -376,7 +376,7 @@
376 376 *
377 377 * RETURN: Status
378 378 *
379   - * DESCRIPTION: Resolve all operands to their values. Used to prepare
  379 + * DESCRIPTION: Resolve all operands to their values. Used to prepare
380 380 * arguments to a control method invocation (a call from one
381 381 * method to another.)
382 382 *
... ... @@ -391,7 +391,7 @@
391 391  
392 392 /*
393 393 * Attempt to resolve each of the valid operands
394   - * Method arguments are passed by reference, not by value. This means
  394 + * Method arguments are passed by reference, not by value. This means
395 395 * that the actual objects are passed, not copies of the objects.
396 396 */
397 397 for (i = 0; i < walk_state->num_operands; i++) {
... ... @@ -451,7 +451,7 @@
451 451 * RETURN: Status
452 452 *
453 453 * DESCRIPTION: Translate a parse tree object that is an argument to an AML
454   - * opcode to the equivalent interpreter object. This may include
  454 + * opcode to the equivalent interpreter object. This may include
455 455 * looking up a name or entering a new name into the internal
456 456 * namespace.
457 457 *
458 458  
... ... @@ -496,9 +496,9 @@
496 496 /*
497 497 * Special handling for buffer_field declarations. This is a deferred
498 498 * opcode that unfortunately defines the field name as the last
499   - * parameter instead of the first. We get here when we are performing
  499 + * parameter instead of the first. We get here when we are performing
500 500 * the deferred execution, so the actual name of the field is already
501   - * in the namespace. We don't want to attempt to look it up again
  501 + * in the namespace. We don't want to attempt to look it up again
502 502 * because we may be executing in a different scope than where the
503 503 * actual opcode exists.
504 504 */
... ... @@ -605,8 +605,8 @@
605 605 /*
606 606 * If the name is null, this means that this is an
607 607 * optional result parameter that was not specified
608   - * in the original ASL. Create a Zero Constant for a
609   - * placeholder. (Store to a constant is a Noop.)
  608 + * in the original ASL. Create a Zero Constant for a
  609 + * placeholder. (Store to a constant is a Noop.)
610 610 */
611 611 opcode = AML_ZERO_OP; /* Has no arguments! */
612 612  
drivers/acpi/acpica/dswexec.c
... ... @@ -204,7 +204,7 @@
204 204 * RETURN: Status
205 205 *
206 206 * DESCRIPTION: Descending callback used during the execution of control
207   - * methods. This is where most operators and operands are
  207 + * methods. This is where most operators and operands are
208 208 * dispatched to the interpreter.
209 209 *
210 210 ****************************************************************************/
... ... @@ -297,7 +297,7 @@
297 297 if (walk_state->walk_type & ACPI_WALK_METHOD) {
298 298 /*
299 299 * Found a named object declaration during method execution;
300   - * we must enter this object into the namespace. The created
  300 + * we must enter this object into the namespace. The created
301 301 * object is temporary and will be deleted upon completion of
302 302 * the execution of this method.
303 303 *
... ... @@ -348,7 +348,7 @@
348 348 * RETURN: Status
349 349 *
350 350 * DESCRIPTION: Ascending callback used during the execution of control
351   - * methods. The only thing we really need to do here is to
  351 + * methods. The only thing we really need to do here is to
352 352 * notice the beginning of IF, ELSE, and WHILE blocks.
353 353 *
354 354 ****************************************************************************/
... ... @@ -432,7 +432,7 @@
432 432 if (ACPI_SUCCESS(status)) {
433 433 /*
434 434 * Dispatch the request to the appropriate interpreter handler
435   - * routine. There is one routine per opcode "type" based upon the
  435 + * routine. There is one routine per opcode "type" based upon the
436 436 * number of opcode arguments and return type.
437 437 */
438 438 status =
drivers/acpi/acpica/dswstate.c
... ... @@ -348,7 +348,7 @@
348 348 *
349 349 * RETURN: Status
350 350 *
351   - * DESCRIPTION: Pop this walk's object stack. Objects on the stack are NOT
  351 + * DESCRIPTION: Pop this walk's object stack. Objects on the stack are NOT
352 352 * deleted by this routine.
353 353 *
354 354 ******************************************************************************/
... ... @@ -492,7 +492,7 @@
492 492 * RETURN: A walk_state object popped from the thread's stack
493 493 *
494 494 * DESCRIPTION: Remove and return the walkstate object that is at the head of
495   - * the walk stack for the given walk list. NULL indicates that
  495 + * the walk stack for the given walk list. NULL indicates that
496 496 * the list is empty.
497 497 *
498 498 ******************************************************************************/
... ... @@ -532,7 +532,7 @@
532 532 *
533 533 * RETURN: Pointer to the new walk state.
534 534 *
535   - * DESCRIPTION: Allocate and initialize a new walk state. The current walk
  535 + * DESCRIPTION: Allocate and initialize a new walk state. The current walk
536 536 * state is set to this new state.
537 537 *
538 538 ******************************************************************************/
... ... @@ -657,7 +657,7 @@
657 657 /*
658 658 * Setup the current scope.
659 659 * Find a Named Op that has a namespace node associated with it.
660   - * search upwards from this Op. Current scope is the first
  660 + * search upwards from this Op. Current scope is the first
661 661 * Op with a namespace node.
662 662 */
663 663 extra_op = parser_state->start_op;
drivers/acpi/acpica/excreate.c
... ... @@ -78,7 +78,7 @@
78 78 (target_node->type == ACPI_TYPE_LOCAL_METHOD_ALIAS)) {
79 79 /*
80 80 * Dereference an existing alias so that we don't create a chain
81   - * of aliases. With this code, we guarantee that an alias is
  81 + * of aliases. With this code, we guarantee that an alias is
82 82 * always exactly one level of indirection away from the
83 83 * actual aliased name.
84 84 */
... ... @@ -90,7 +90,7 @@
90 90 /*
91 91 * For objects that can never change (i.e., the NS node will
92 92 * permanently point to the same object), we can simply attach
93   - * the object to the new NS node. For other objects (such as
  93 + * the object to the new NS node. For other objects (such as
94 94 * Integers, buffers, etc.), we have to point the Alias node
95 95 * to the original Node.
96 96 */
... ... @@ -139,7 +139,7 @@
139 139  
140 140 /*
141 141 * The new alias assumes the type of the target, and it points
142   - * to the same object. The reference count of the object has an
  142 + * to the same object. The reference count of the object has an
143 143 * additional reference to prevent deletion out from under either the
144 144 * target node or the alias Node
145 145 */
drivers/acpi/acpica/exdump.c
... ... @@ -778,7 +778,7 @@
778 778 * PARAMETERS: title - Descriptive text
779 779 * value - Value to be displayed
780 780 *
781   - * DESCRIPTION: Object dump output formatting functions. These functions
  781 + * DESCRIPTION: Object dump output formatting functions. These functions
782 782 * reduce the number of format strings required and keeps them
783 783 * all in one place for easy modification.
784 784 *
drivers/acpi/acpica/exfield.c
... ... @@ -59,7 +59,7 @@
59 59 *
60 60 * RETURN: Status
61 61 *
62   - * DESCRIPTION: Read from a named field. Returns either an Integer or a
  62 + * DESCRIPTION: Read from a named field. Returns either an Integer or a
63 63 * Buffer, depending on the size of the field.
64 64 *
65 65 ******************************************************************************/
... ... @@ -149,7 +149,7 @@
149 149 * Allocate a buffer for the contents of the field.
150 150 *
151 151 * If the field is larger than the current integer width, create
152   - * a BUFFER to hold it. Otherwise, use an INTEGER. This allows
  152 + * a BUFFER to hold it. Otherwise, use an INTEGER. This allows
153 153 * the use of arithmetic operators on the returned value if the
154 154 * field size is equal or smaller than an Integer.
155 155 *
drivers/acpi/acpica/exfldio.c
... ... @@ -154,7 +154,7 @@
154 154 #endif
155 155  
156 156 /*
157   - * Validate the request. The entire request from the byte offset for a
  157 + * Validate the request. The entire request from the byte offset for a
158 158 * length of one field datum (access width) must fit within the region.
159 159 * (Region length is specified in bytes)
160 160 */
... ... @@ -182,7 +182,7 @@
182 182 obj_desc->common_field.access_byte_width) {
183 183 /*
184 184 * This is the case where the access_type (acc_word, etc.) is wider
185   - * than the region itself. For example, a region of length one
  185 + * than the region itself. For example, a region of length one
186 186 * byte, and a field with Dword access specified.
187 187 */
188 188 ACPI_ERROR((AE_INFO,
... ... @@ -320,7 +320,7 @@
320 320 *
321 321 * DESCRIPTION: Check if a value is out of range of the field being written.
322 322 * Used to check if the values written to Index and Bank registers
323   - * are out of range. Normally, the value is simply truncated
  323 + * are out of range. Normally, the value is simply truncated
324 324 * to fit the field, but this case is most likely a serious
325 325 * coding error in the ASL.
326 326 *
... ... @@ -369,7 +369,7 @@
369 369 *
370 370 * RETURN: Status
371 371 *
372   - * DESCRIPTION: Read or Write a single datum of a field. The field_type is
  372 + * DESCRIPTION: Read or Write a single datum of a field. The field_type is
373 373 * demultiplexed here to handle the different types of fields
374 374 * (buffer_field, region_field, index_field, bank_field)
375 375 *
... ... @@ -859,7 +859,7 @@
859 859 ACPI_ROUND_BITS_UP_TO_BYTES(obj_desc->common_field.bit_length);
860 860 /*
861 861 * We must have a buffer that is at least as long as the field
862   - * we are writing to. This is because individual fields are
  862 + * we are writing to. This is because individual fields are
863 863 * indivisible and partial writes are not supported -- as per
864 864 * the ACPI specification.
865 865 */
... ... @@ -874,7 +874,7 @@
874 874  
875 875 /*
876 876 * Copy the original data to the new buffer, starting
877   - * at Byte zero. All unused (upper) bytes of the
  877 + * at Byte zero. All unused (upper) bytes of the
878 878 * buffer will be 0.
879 879 */
880 880 ACPI_MEMCPY((char *)new_buffer, (char *)buffer, buffer_length);
drivers/acpi/acpica/exmisc.c
... ... @@ -253,7 +253,7 @@
253 253 ACPI_FUNCTION_TRACE(ex_do_concatenate);
254 254  
255 255 /*
256   - * Convert the second operand if necessary. The first operand
  256 + * Convert the second operand if necessary. The first operand
257 257 * determines the type of the second operand, (See the Data Types
258 258 * section of the ACPI specification.) Both object types are
259 259 * guaranteed to be either Integer/String/Buffer by the operand
... ... @@ -572,7 +572,7 @@
572 572 ACPI_FUNCTION_TRACE(ex_do_logical_op);
573 573  
574 574 /*
575   - * Convert the second operand if necessary. The first operand
  575 + * Convert the second operand if necessary. The first operand
576 576 * determines the type of the second operand, (See the Data Types
577 577 * section of the ACPI 3.0+ specification.) Both object types are
578 578 * guaranteed to be either Integer/String/Buffer by the operand
drivers/acpi/acpica/exnames.c
... ... @@ -62,7 +62,7 @@
62 62 * (-1)==root, 0==none
63 63 * num_name_segs - count of 4-character name segments
64 64 *
65   - * RETURN: A pointer to the allocated string segment. This segment must
  65 + * RETURN: A pointer to the allocated string segment. This segment must
66 66 * be deleted by the caller.
67 67 *
68 68 * DESCRIPTION: Allocate a buffer for a name string. Ensure allocated name
drivers/acpi/acpica/exoparg1.c
... ... @@ -605,7 +605,7 @@
605 605 }
606 606  
607 607 /*
608   - * Set result to ONES (TRUE) if Value == 0. Note:
  608 + * Set result to ONES (TRUE) if Value == 0. Note:
609 609 * return_desc->Integer.Value is initially == 0 (FALSE) from above.
610 610 */
611 611 if (!operand[0]->integer.value) {
... ... @@ -617,7 +617,7 @@
617 617 case AML_INCREMENT_OP: /* Increment (Operand) */
618 618  
619 619 /*
620   - * Create a new integer. Can't just get the base integer and
  620 + * Create a new integer. Can't just get the base integer and
621 621 * increment it because it may be an Arg or Field.
622 622 */
623 623 return_desc = acpi_ut_create_internal_object(ACPI_TYPE_INTEGER);
... ... @@ -685,7 +685,7 @@
685 685  
686 686 /*
687 687 * Note: The operand is not resolved at this point because we want to
688   - * get the associated object, not its value. For example, we don't
  688 + * get the associated object, not its value. For example, we don't
689 689 * want to resolve a field_unit to its value, we want the actual
690 690 * field_unit object.
691 691 */
... ... @@ -726,7 +726,7 @@
726 726  
727 727 /*
728 728 * The type of the base object must be integer, buffer, string, or
729   - * package. All others are not supported.
  729 + * package. All others are not supported.
730 730 *
731 731 * NOTE: Integer is not specifically supported by the ACPI spec,
732 732 * but is supported implicitly via implicit operand conversion.
... ... @@ -964,7 +964,7 @@
964 964 case ACPI_TYPE_PACKAGE:
965 965  
966 966 /*
967   - * Return the referenced element of the package. We must
  967 + * Return the referenced element of the package. We must
968 968 * add another reference to the referenced object, however.
969 969 */
970 970 return_desc =
drivers/acpi/acpica/exoparg2.c
... ... @@ -123,7 +123,7 @@
123 123 /*
124 124 * Dispatch the notify to the appropriate handler
125 125 * NOTE: the request is queued for execution after this method
126   - * completes. The notify handlers are NOT invoked synchronously
  126 + * completes. The notify handlers are NOT invoked synchronously
127 127 * from this thread -- because handlers may in turn run other
128 128 * control methods.
129 129 */
drivers/acpi/acpica/exoparg3.c
... ... @@ -157,7 +157,7 @@
157 157 case AML_MID_OP: /* Mid (Source[0], Index[1], Length[2], Result[3]) */
158 158  
159 159 /*
160   - * Create the return object. The Source operand is guaranteed to be
  160 + * Create the return object. The Source operand is guaranteed to be
161 161 * either a String or a Buffer, so just use its type.
162 162 */
163 163 return_desc = acpi_ut_create_internal_object((operand[0])->
drivers/acpi/acpica/exoparg6.c
... ... @@ -268,7 +268,7 @@
268 268 * and the next should be examined.
269 269 *
270 270 * Upon finding a match, the loop will terminate via "break" at
271   - * the bottom. If it terminates "normally", match_value will be
  271 + * the bottom. If it terminates "normally", match_value will be
272 272 * ACPI_UINT64_MAX (Ones) (its initial value) indicating that no
273 273 * match was found.
274 274 */
drivers/acpi/acpica/exprep.c
... ... @@ -77,8 +77,8 @@
77 77 * any_acc keyword.
78 78 *
79 79 * NOTE: Need to have the region_length in order to check for boundary
80   - * conditions (end-of-region). However, the region_length is a deferred
81   - * operation. Therefore, to complete this implementation, the generation
  80 + * conditions (end-of-region). However, the region_length is a deferred
  81 + * operation. Therefore, to complete this implementation, the generation
82 82 * of this access width must be deferred until the region length has
83 83 * been evaluated.
84 84 *
... ... @@ -307,7 +307,7 @@
307 307 * RETURN: Status
308 308 *
309 309 * DESCRIPTION: Initialize the areas of the field object that are common
310   - * to the various types of fields. Note: This is very "sensitive"
  310 + * to the various types of fields. Note: This is very "sensitive"
311 311 * code because we are solving the general case for field
312 312 * alignment.
313 313 *
314 314  
... ... @@ -335,13 +335,13 @@
335 335 obj_desc->common_field.bit_length = field_bit_length;
336 336  
337 337 /*
338   - * Decode the access type so we can compute offsets. The access type gives
  338 + * Decode the access type so we can compute offsets. The access type gives
339 339 * two pieces of information - the width of each field access and the
340 340 * necessary byte_alignment (address granularity) of the access.
341 341 *
342 342 * For any_acc, the access_bit_width is the largest width that is both
343 343 * necessary and possible in an attempt to access the whole field in one
344   - * I/O operation. However, for any_acc, the byte_alignment is always one
  344 + * I/O operation. However, for any_acc, the byte_alignment is always one
345 345 * byte.
346 346 *
347 347 * For all Buffer Fields, the byte_alignment is always one byte.
... ... @@ -362,7 +362,7 @@
362 362  
363 363 /*
364 364 * base_byte_offset is the address of the start of the field within the
365   - * region. It is the byte address of the first *datum* (field-width data
  365 + * region. It is the byte address of the first *datum* (field-width data
366 366 * unit) of the field. (i.e., the first datum that contains at least the
367 367 * first *bit* of the field.)
368 368 *
drivers/acpi/acpica/exregion.c
... ... @@ -201,7 +201,7 @@
201 201 * Perform the memory read or write
202 202 *
203 203 * Note: For machines that do not support non-aligned transfers, the target
204   - * address was checked for alignment above. We do not attempt to break the
  204 + * address was checked for alignment above. We do not attempt to break the
205 205 * transfer up into smaller (byte-size) chunks because the AML specifically
206 206 * asked for a transfer width that the hardware may require.
207 207 */
drivers/acpi/acpica/exresnte.c
... ... @@ -57,8 +57,8 @@
57 57 * PARAMETERS: object_ptr - Pointer to a location that contains
58 58 * a pointer to a NS node, and will receive a
59 59 * pointer to the resolved object.
60   - * walk_state - Current state. Valid only if executing AML
61   - * code. NULL if simply resolving an object
  60 + * walk_state - Current state. Valid only if executing AML
  61 + * code. NULL if simply resolving an object
62 62 *
63 63 * RETURN: Status
64 64 *
... ... @@ -66,7 +66,7 @@
66 66 *
67 67 * Note: for some of the data types, the pointer attached to the Node
68 68 * can be either a pointer to an actual internal object or a pointer into the
69   - * AML stream itself. These types are currently:
  69 + * AML stream itself. These types are currently:
70 70 *
71 71 * ACPI_TYPE_INTEGER
72 72 * ACPI_TYPE_STRING
... ... @@ -88,7 +88,7 @@
88 88 ACPI_FUNCTION_TRACE(ex_resolve_node_to_value);
89 89  
90 90 /*
91   - * The stack pointer points to a struct acpi_namespace_node (Node). Get the
  91 + * The stack pointer points to a struct acpi_namespace_node (Node). Get the
92 92 * object that is attached to the Node.
93 93 */
94 94 node = *object_ptr;
drivers/acpi/acpica/exresolv.c
... ... @@ -326,7 +326,7 @@
326 326 *
327 327 * RETURN: Status
328 328 *
329   - * DESCRIPTION: Return the base object and type. Traverse a reference list if
  329 + * DESCRIPTION: Return the base object and type. Traverse a reference list if
330 330 * necessary to get to the base object.
331 331 *
332 332 ******************************************************************************/
drivers/acpi/acpica/exresop.c
... ... @@ -86,7 +86,7 @@
86 86 if (type_needed == ACPI_TYPE_LOCAL_REFERENCE) {
87 87 /*
88 88 * Allow the AML "Constant" opcodes (Zero, One, etc.) to be reference
89   - * objects and thus allow them to be targets. (As per the ACPI
  89 + * objects and thus allow them to be targets. (As per the ACPI
90 90 * specification, a store to a constant is a noop.)
91 91 */
92 92 if ((this_type == ACPI_TYPE_INTEGER) &&
... ... @@ -638,7 +638,7 @@
638 638 if (acpi_gbl_enable_interpreter_slack) {
639 639 /*
640 640 * Enable original behavior of Store(), allowing any and all
641   - * objects as the source operand. The ACPI spec does not
  641 + * objects as the source operand. The ACPI spec does not
642 642 * allow this, however.
643 643 */
644 644 break;
drivers/acpi/acpica/exstore.c
... ... @@ -374,7 +374,7 @@
374 374 * with the input value.
375 375 *
376 376 * When storing into an object the data is converted to the
377   - * target object type then stored in the object. This means
  377 + * target object type then stored in the object. This means
378 378 * that the target object type (for an initialized target) will
379 379 * not be changed by a store operation.
380 380 *
... ... @@ -491,7 +491,7 @@
491 491 acpi_ut_get_object_type_name(source_desc),
492 492 source_desc, node));
493 493  
494   - /* No conversions for all other types. Just attach the source object */
  494 + /* No conversions for all other types. Just attach the source object */
495 495  
496 496 status = acpi_ns_attach_object(node, source_desc,
497 497 source_desc->common.type);
drivers/acpi/acpica/exstoren.c
... ... @@ -60,7 +60,7 @@
60 60 *
61 61 * RETURN: Status, resolved object in source_desc_ptr.
62 62 *
63   - * DESCRIPTION: Resolve an object. If the object is a reference, dereference
  63 + * DESCRIPTION: Resolve an object. If the object is a reference, dereference
64 64 * it and return the actual object in the source_desc_ptr.
65 65 *
66 66 ******************************************************************************/
... ... @@ -92,7 +92,7 @@
92 92  
93 93 /*
94 94 * Stores into a Field/Region or into a Integer/Buffer/String
95   - * are all essentially the same. This case handles the
  95 + * are all essentially the same. This case handles the
96 96 * "interchangeable" types Integer, String, and Buffer.
97 97 */
98 98 if (source_desc->common.type == ACPI_TYPE_LOCAL_REFERENCE) {
... ... @@ -166,7 +166,7 @@
166 166 *
167 167 * RETURN: Status
168 168 *
169   - * DESCRIPTION: "Store" an object to another object. This may include
  169 + * DESCRIPTION: "Store" an object to another object. This may include
170 170 * converting the source type to the target type (implicit
171 171 * conversion), and a copy of the value of the source to
172 172 * the target.
173 173  
... ... @@ -177,14 +177,14 @@
177 177 * with the input value.
178 178 *
179 179 * When storing into an object the data is converted to the
180   - * target object type then stored in the object. This means
  180 + * target object type then stored in the object. This means
181 181 * that the target object type (for an initialized target) will
182 182 * not be changed by a store operation.
183 183 *
184 184 * This module allows destination types of Number, String,
185 185 * Buffer, and Package.
186 186 *
187   - * Assumes parameters are already validated. NOTE: source_desc
  187 + * Assumes parameters are already validated. NOTE: source_desc
188 188 * resolution (from a reference object) must be performed by
189 189 * the caller if necessary.
190 190 *
drivers/acpi/acpica/exstorob.c
... ... @@ -107,7 +107,7 @@
107 107 #ifdef ACPI_OBSOLETE_BEHAVIOR
108 108 /*
109 109 * NOTE: ACPI versions up to 3.0 specified that the buffer must be
110   - * truncated if the string is smaller than the buffer. However, "other"
  110 + * truncated if the string is smaller than the buffer. However, "other"
111 111 * implementations of ACPI never did this and thus became the defacto
112 112 * standard. ACPI 3.0A changes this behavior such that the buffer
113 113 * is no longer truncated.
... ... @@ -116,7 +116,7 @@
116 116 /*
117 117 * OBSOLETE BEHAVIOR:
118 118 * If the original source was a string, we must truncate the buffer,
119   - * according to the ACPI spec. Integer-to-Buffer and Buffer-to-Buffer
  119 + * according to the ACPI spec. Integer-to-Buffer and Buffer-to-Buffer
120 120 * copy must not truncate the original buffer.
121 121 */
122 122 if (original_src_type == ACPI_TYPE_STRING) {
drivers/acpi/acpica/exsystem.c
... ... @@ -58,7 +58,7 @@
58 58 * RETURN: Status
59 59 *
60 60 * DESCRIPTION: Implements a semaphore wait with a check to see if the
61   - * semaphore is available immediately. If it is not, the
  61 + * semaphore is available immediately. If it is not, the
62 62 * interpreter is released before waiting.
63 63 *
64 64 ******************************************************************************/
... ... @@ -103,7 +103,7 @@
103 103 * RETURN: Status
104 104 *
105 105 * DESCRIPTION: Implements a mutex wait with a check to see if the
106   - * mutex is available immediately. If it is not, the
  106 + * mutex is available immediately. If it is not, the
107 107 * interpreter is released before waiting.
108 108 *
109 109 ******************************************************************************/
... ... @@ -151,7 +151,7 @@
151 151 * DESCRIPTION: Suspend running thread for specified amount of time.
152 152 * Note: ACPI specification requires that Stall() does not
153 153 * relinquish the processor, and delays longer than 100 usec
154   - * should use Sleep() instead. We allow stalls up to 255 usec
  154 + * should use Sleep() instead. We allow stalls up to 255 usec
155 155 * for compatibility with other interpreters and existing BIOSs.
156 156 *
157 157 ******************************************************************************/
... ... @@ -253,7 +253,7 @@
253 253 * RETURN: Status
254 254 *
255 255 * DESCRIPTION: Provides an access point to perform synchronization operations
256   - * within the AML. This operation is a request to wait for an
  256 + * within the AML. This operation is a request to wait for an
257 257 * event.
258 258 *
259 259 ******************************************************************************/
drivers/acpi/acpica/exutils.c
... ... @@ -44,12 +44,12 @@
44 44 /*
45 45 * DEFINE_AML_GLOBALS is tested in amlcode.h
46 46 * to determine whether certain global names should be "defined" or only
47   - * "declared" in the current compilation. This enhances maintainability
  47 + * "declared" in the current compilation. This enhances maintainability
48 48 * by enabling a single header file to embody all knowledge of the names
49 49 * in question.
50 50 *
51 51 * Exactly one module of any executable should #define DEFINE_GLOBALS
52   - * before #including the header files which use this convention. The
  52 + * before #including the header files which use this convention. The
53 53 * names in question will be defined and initialized in that module,
54 54 * and declared as extern in all other modules which #include those
55 55 * header files.
drivers/acpi/acpica/hwacpi.c
... ... @@ -135,7 +135,7 @@
135 135 *
136 136 * RETURN: SYS_MODE_ACPI or SYS_MODE_LEGACY
137 137 *
138   - * DESCRIPTION: Return current operating state of system. Determined by
  138 + * DESCRIPTION: Return current operating state of system. Determined by
139 139 * querying the SCI_EN bit.
140 140 *
141 141 ******************************************************************************/
drivers/acpi/acpica/hwtimer.c
... ... @@ -127,7 +127,7 @@
127 127 * a versatile and accurate timer.
128 128 *
129 129 * Note that this function accommodates only a single timer
130   - * rollover. Thus for 24-bit timers, this function should only
  130 + * rollover. Thus for 24-bit timers, this function should only
131 131 * be used for calculating durations less than ~4.6 seconds
132 132 * (~20 minutes for 32-bit timers) -- calculations below:
133 133 *
drivers/acpi/acpica/nsalloc.c
... ... @@ -332,7 +332,7 @@
332 332 *
333 333 * RETURN: None.
334 334 *
335   - * DESCRIPTION: Delete a subtree of the namespace. This includes all objects
  335 + * DESCRIPTION: Delete a subtree of the namespace. This includes all objects
336 336 * stored within the subtree.
337 337 *
338 338 ******************************************************************************/
... ... @@ -418,7 +418,7 @@
418 418 * RETURN: Status
419 419 *
420 420 * DESCRIPTION: Delete entries within the namespace that are owned by a
421   - * specific ID. Used to delete entire ACPI tables. All
  421 + * specific ID. Used to delete entire ACPI tables. All
422 422 * reference counts are updated.
423 423 *
424 424 * MUTEX: Locks namespace during deletion walk.
drivers/acpi/acpica/nsdump.c
... ... @@ -692,7 +692,7 @@
692 692 *
693 693 * PARAMETERS: search_base - Root of subtree to be dumped, or
694 694 * NS_ALL to dump the entire namespace
695   - * max_depth - Maximum depth of dump. Use INT_MAX
  695 + * max_depth - Maximum depth of dump. Use INT_MAX
696 696 * for an effectively unlimited depth.
697 697 *
698 698 * RETURN: None
drivers/acpi/acpica/nsload.c
... ... @@ -80,8 +80,8 @@
80 80  
81 81 /*
82 82 * Parse the table and load the namespace with all named
83   - * objects found within. Control methods are NOT parsed
84   - * at this time. In fact, the control methods cannot be
  83 + * objects found within. Control methods are NOT parsed
  84 + * at this time. In fact, the control methods cannot be
85 85 * parsed until the entire namespace is loaded, because
86 86 * if a control method makes a forward reference (call)
87 87 * to another control method, we can't continue parsing
... ... @@ -122,7 +122,7 @@
122 122 }
123 123  
124 124 /*
125   - * Now we can parse the control methods. We always parse
  125 + * Now we can parse the control methods. We always parse
126 126 * them here for a sanity check, and if configured for
127 127 * just-in-time parsing, we delete the control method
128 128 * parse trees.
... ... @@ -166,7 +166,7 @@
166 166 }
167 167  
168 168 /*
169   - * Load the namespace. The DSDT is required,
  169 + * Load the namespace. The DSDT is required,
170 170 * but the SSDT and PSDT tables are optional.
171 171 */
172 172 status = acpi_ns_load_table_by_type(ACPI_TABLE_ID_DSDT);
... ... @@ -283,7 +283,7 @@
283 283 * RETURN: Status
284 284 *
285 285 * DESCRIPTION: Shrinks the namespace, typically in response to an undocking
286   - * event. Deletes an entire subtree starting from (and
  286 + * event. Deletes an entire subtree starting from (and
287 287 * including) the given handle.
288 288 *
289 289 ******************************************************************************/
drivers/acpi/acpica/nsobject.c
... ... @@ -61,7 +61,7 @@
61 61 * RETURN: Status
62 62 *
63 63 * DESCRIPTION: Record the given object as the value associated with the
64   - * name whose acpi_handle is passed. If Object is NULL
  64 + * name whose acpi_handle is passed. If Object is NULL
65 65 * and Type is ACPI_TYPE_ANY, set the name as having no value.
66 66 * Note: Future may require that the Node->Flags field be passed
67 67 * as a parameter.
... ... @@ -133,7 +133,7 @@
133 133 ((struct acpi_namespace_node *)object)->object) {
134 134 /*
135 135 * Value passed is a name handle and that name has a
136   - * non-null value. Use that name's value and type.
  136 + * non-null value. Use that name's value and type.
137 137 */
138 138 obj_desc = ((struct acpi_namespace_node *)object)->object;
139 139 object_type = ((struct acpi_namespace_node *)object)->type;
... ... @@ -321,7 +321,7 @@
321 321 *
322 322 * RETURN: Status
323 323 *
324   - * DESCRIPTION: Low-level attach data. Create and attach a Data object.
  324 + * DESCRIPTION: Low-level attach data. Create and attach a Data object.
325 325 *
326 326 ******************************************************************************/
327 327  
... ... @@ -377,7 +377,7 @@
377 377 *
378 378 * RETURN: Status
379 379 *
380   - * DESCRIPTION: Low-level detach data. Delete the data node, but the caller
  380 + * DESCRIPTION: Low-level detach data. Delete the data node, but the caller
381 381 * is responsible for the actual data.
382 382 *
383 383 ******************************************************************************/
drivers/acpi/acpica/nsparse.c
... ... @@ -168,11 +168,11 @@
168 168 /*
169 169 * AML Parse, pass 1
170 170 *
171   - * In this pass, we load most of the namespace. Control methods
172   - * are not parsed until later. A parse tree is not created. Instead,
173   - * each Parser Op subtree is deleted when it is finished. This saves
  171 + * In this pass, we load most of the namespace. Control methods
  172 + * are not parsed until later. A parse tree is not created. Instead,
  173 + * each Parser Op subtree is deleted when it is finished. This saves
174 174 * a great deal of memory, and allows a small cache of parse objects
175   - * to service the entire parse. The second pass of the parse then
  175 + * to service the entire parse. The second pass of the parse then
176 176 * performs another complete parse of the AML.
177 177 */
178 178 ACPI_DEBUG_PRINT((ACPI_DB_PARSE, "**** Start pass 1\n"));
drivers/acpi/acpica/nsutils.c
... ... @@ -530,7 +530,7 @@
530 530 ((num_segments > 0) ? (num_segments - 1) : 0) + 1;
531 531  
532 532 /*
533   - * Check to see if we're still in bounds. If not, there's a problem
  533 + * Check to see if we're still in bounds. If not, there's a problem
534 534 * with internal_name (invalid format).
535 535 */
536 536 if (required_length > internal_name_length) {
... ... @@ -681,7 +681,7 @@
681 681 * \ (backslash) and ^ (carat) prefixes, and the
682 682 * . (period) to separate segments are supported.
683 683 * prefix_node - Root of subtree to be searched, or NS_ALL for the
684   - * root of the name space. If Name is fully
  684 + * root of the name space. If Name is fully
685 685 * qualified (first s8 is '\'), the passed value
686 686 * of Scope will not be accessed.
687 687 * flags - Used to indicate whether to perform upsearch or
... ... @@ -689,7 +689,7 @@
689 689 * return_node - Where the Node is returned
690 690 *
691 691 * DESCRIPTION: Look up a name relative to a given scope and return the
692   - * corresponding Node. NOTE: Scope can be null.
  692 + * corresponding Node. NOTE: Scope can be null.
693 693 *
694 694 * MUTEX: Locks namespace
695 695 *
drivers/acpi/acpica/nswalk.c
... ... @@ -60,8 +60,8 @@
60 60 * RETURN: struct acpi_namespace_node - Pointer to the NEXT child or NULL if
61 61 * none is found.
62 62 *
63   - * DESCRIPTION: Return the next peer node within the namespace. If Handle
64   - * is valid, Scope is ignored. Otherwise, the first node
  63 + * DESCRIPTION: Return the next peer node within the namespace. If Handle
  64 + * is valid, Scope is ignored. Otherwise, the first node
65 65 * within Scope is returned.
66 66 *
67 67 ******************************************************************************/
... ... @@ -97,8 +97,8 @@
97 97 * RETURN: struct acpi_namespace_node - Pointer to the NEXT child or NULL if
98 98 * none is found.
99 99 *
100   - * DESCRIPTION: Return the next peer node within the namespace. If Handle
101   - * is valid, Scope is ignored. Otherwise, the first node
  100 + * DESCRIPTION: Return the next peer node within the namespace. If Handle
  101 + * is valid, Scope is ignored. Otherwise, the first node
102 102 * within Scope is returned.
103 103 *
104 104 ******************************************************************************/
... ... @@ -305,7 +305,7 @@
305 305  
306 306 /*
307 307 * Depth first search: Attempt to go down another level in the
308   - * namespace if we are allowed to. Don't go any further if we have
  308 + * namespace if we are allowed to. Don't go any further if we have
309 309 * reached the caller specified maximum depth or if the user
310 310 * function has specified that the maximum depth has been reached.
311 311 */
drivers/acpi/acpica/nsxfeval.c
... ... @@ -61,16 +61,16 @@
61 61 * PARAMETERS: handle - Object handle (optional)
62 62 * pathname - Object pathname (optional)
63 63 * external_params - List of parameters to pass to method,
64   - * terminated by NULL. May be NULL
  64 + * terminated by NULL. May be NULL
65 65 * if no parameters are being passed.
66 66 * return_buffer - Where to put method's return value (if
67   - * any). If NULL, no value is returned.
  67 + * any). If NULL, no value is returned.
68 68 * return_type - Expected type of return object
69 69 *
70 70 * RETURN: Status
71 71 *
72 72 * DESCRIPTION: Find and evaluate the given object, passing the given
73   - * parameters if necessary. One of "Handle" or "Pathname" must
  73 + * parameters if necessary. One of "Handle" or "Pathname" must
74 74 * be valid (non-null)
75 75 *
76 76 ******************************************************************************/
77 77  
78 78  
... ... @@ -155,15 +155,15 @@
155 155 * PARAMETERS: handle - Object handle (optional)
156 156 * pathname - Object pathname (optional)
157 157 * external_params - List of parameters to pass to method,
158   - * terminated by NULL. May be NULL
  158 + * terminated by NULL. May be NULL
159 159 * if no parameters are being passed.
160 160 * return_buffer - Where to put method's return value (if
161   - * any). If NULL, no value is returned.
  161 + * any). If NULL, no value is returned.
162 162 *
163 163 * RETURN: Status
164 164 *
165 165 * DESCRIPTION: Find and evaluate the given object, passing the given
166   - * parameters if necessary. One of "Handle" or "Pathname" must
  166 + * parameters if necessary. One of "Handle" or "Pathname" must
167 167 * be valid (non-null)
168 168 *
169 169 ******************************************************************************/
... ... @@ -656,7 +656,7 @@
656 656 * DESCRIPTION: Performs a modified depth-first walk of the namespace tree,
657 657 * starting (and ending) at the object specified by start_handle.
658 658 * The user_function is called whenever an object of type
659   - * Device is found. If the user function returns
  659 + * Device is found. If the user function returns
660 660 * a non-zero value, the search is terminated immediately and this
661 661 * value is returned to the caller.
662 662 *
drivers/acpi/acpica/nsxfname.c
... ... @@ -69,8 +69,8 @@
69 69 * RETURN: Status
70 70 *
71 71 * DESCRIPTION: This routine will search for a caller specified name in the
72   - * name space. The caller can restrict the search region by
73   - * specifying a non NULL parent. The parent value is itself a
  72 + * name space. The caller can restrict the search region by
  73 + * specifying a non NULL parent. The parent value is itself a
74 74 * namespace handle.
75 75 *
76 76 ******************************************************************************/
... ... @@ -149,7 +149,7 @@
149 149 * RETURN: Pointer to a string containing the fully qualified Name.
150 150 *
151 151 * DESCRIPTION: This routine returns the fully qualified name associated with
152   - * the Handle parameter. This and the acpi_pathname_to_handle are
  152 + * the Handle parameter. This and the acpi_pathname_to_handle are
153 153 * complementary functions.
154 154 *
155 155 ******************************************************************************/
drivers/acpi/acpica/nsxfobj.c
... ... @@ -220,8 +220,8 @@
220 220 *
221 221 * RETURN: Status
222 222 *
223   - * DESCRIPTION: Return the next peer object within the namespace. If Handle is
224   - * valid, Scope is ignored. Otherwise, the first object within
  223 + * DESCRIPTION: Return the next peer object within the namespace. If Handle is
  224 + * valid, Scope is ignored. Otherwise, the first object within
225 225 * Scope is returned.
226 226 *
227 227 ******************************************************************************/
drivers/acpi/acpica/psargs.c
... ... @@ -120,7 +120,7 @@
120 120 * RETURN: Pointer to end-of-package +1
121 121 *
122 122 * DESCRIPTION: Get next package length and return a pointer past the end of
123   - * the package. Consumes the package length field
  123 + * the package. Consumes the package length field
124 124 *
125 125 ******************************************************************************/
126 126  
... ... @@ -147,8 +147,8 @@
147 147 * RETURN: Pointer to the start of the name string (pointer points into
148 148 * the AML.
149 149 *
150   - * DESCRIPTION: Get next raw namestring within the AML stream. Handles all name
151   - * prefix characters. Set parser state to point past the string.
  150 + * DESCRIPTION: Get next raw namestring within the AML stream. Handles all name
  151 + * prefix characters. Set parser state to point past the string.
152 152 * (Name is consumed from the AML.)
153 153 *
154 154 ******************************************************************************/
... ... @@ -220,7 +220,7 @@
220 220 *
221 221 * DESCRIPTION: Get next name (if method call, return # of required args).
222 222 * Names are looked up in the internal namespace to determine
223   - * if the name represents a control method. If a method
  223 + * if the name represents a control method. If a method
224 224 * is found, the number of arguments to the method is returned.
225 225 * This information is critical for parsing to continue correctly.
226 226 *
drivers/acpi/acpica/psopcode.c
... ... @@ -59,7 +59,7 @@
59 59 *
60 60 * DESCRIPTION: Opcode table. Each entry contains <opcode, type, name, operands>
61 61 * The name is a simple ascii string, the operand specifier is an
62   - * ascii string with one letter per operand. The letter specifies
  62 + * ascii string with one letter per operand. The letter specifies
63 63 * the operand type.
64 64 *
65 65 ******************************************************************************/
... ... @@ -183,7 +183,7 @@
183 183 ******************************************************************************/
184 184  
185 185 /*
186   - * Master Opcode information table. A summary of everything we know about each
  186 + * Master Opcode information table. A summary of everything we know about each
187 187 * opcode, all in one place.
188 188 */
189 189 const struct acpi_opcode_info acpi_gbl_aml_op_info[AML_NUM_OPCODES] = {
... ... @@ -700,7 +700,7 @@
700 700  
701 701 /*
702 702 * This table is indexed by the second opcode of the extended opcode
703   - * pair. It returns an index into the opcode table (acpi_gbl_aml_op_info)
  703 + * pair. It returns an index into the opcode table (acpi_gbl_aml_op_info)
704 704 */
705 705 static const u8 acpi_gbl_long_op_index[NUM_EXTENDED_OPCODE] = {
706 706 /* 0 1 2 3 4 5 6 7 */
drivers/acpi/acpica/psparse.c
... ... @@ -43,9 +43,9 @@
43 43  
44 44 /*
45 45 * Parse the AML and build an operation tree as most interpreters,
46   - * like Perl, do. Parsing is done by hand rather than with a YACC
  46 + * like Perl, do. Parsing is done by hand rather than with a YACC
47 47 * generated parser to tightly constrain stack and dynamic memory
48   - * usage. At the same time, parsing is kept flexible and the code
  48 + * usage. At the same time, parsing is kept flexible and the code
49 49 * fairly compact by parsing based on a list of AML opcode
50 50 * templates in aml_op_info[]
51 51 */
... ... @@ -379,7 +379,7 @@
379 379 case AE_CTRL_FALSE:
380 380 /*
381 381 * Either an IF/WHILE Predicate was false or we encountered a BREAK
382   - * opcode. In both cases, we do not execute the rest of the
  382 + * opcode. In both cases, we do not execute the rest of the
383 383 * package; We simply close out the parent (finishing the walk of
384 384 * this branch of the tree) and continue execution at the parent
385 385 * level.
... ... @@ -488,7 +488,7 @@
488 488 acpi_gbl_current_walk_list = thread;
489 489  
490 490 /*
491   - * Execute the walk loop as long as there is a valid Walk State. This
  491 + * Execute the walk loop as long as there is a valid Walk State. This
492 492 * handles nested control method invocations without recursion.
493 493 */
494 494 ACPI_DEBUG_PRINT((ACPI_DB_PARSE, "State=%p\n", walk_state));
drivers/acpi/acpica/psutils.c
... ... @@ -108,7 +108,7 @@
108 108 * RETURN: Pointer to the new Op, null on failure
109 109 *
110 110 * DESCRIPTION: Allocate an acpi_op, choose op type (and thus size) based on
111   - * opcode. A cache of opcodes is available for the pure
  111 + * opcode. A cache of opcodes is available for the pure
112 112 * GENERIC_OP, since this is by far the most commonly used.
113 113 *
114 114 ******************************************************************************/
... ... @@ -164,7 +164,7 @@
164 164 *
165 165 * RETURN: None.
166 166 *
167   - * DESCRIPTION: Free an Op object. Either put it on the GENERIC_OP cache list
  167 + * DESCRIPTION: Free an Op object. Either put it on the GENERIC_OP cache list
168 168 * or actually free it.
169 169 *
170 170 ******************************************************************************/
drivers/acpi/acpica/rscalc.c
... ... @@ -601,7 +601,7 @@
601 601 /*
602 602 * Calculate the size of the return buffer.
603 603 * The base size is the number of elements * the sizes of the
604   - * structures. Additional space for the strings is added below.
  604 + * structures. Additional space for the strings is added below.
605 605 * The minus one is to subtract the size of the u8 Source[1]
606 606 * member because it is added below.
607 607 *
drivers/acpi/acpica/tbxfroot.c
... ... @@ -107,7 +107,7 @@
107 107 * RETURN: Status, RSDP physical address
108 108 *
109 109 * DESCRIPTION: Search lower 1Mbyte of memory for the root system descriptor
110   - * pointer structure. If it is found, set *RSDP to point to it.
  110 + * pointer structure. If it is found, set *RSDP to point to it.
111 111 *
112 112 * NOTE1: The RSDP must be either in the first 1K of the Extended
113 113 * BIOS Data Area or between E0000 and FFFFF (From ACPI Spec.)
drivers/acpi/acpica/utcache.c
... ... @@ -183,7 +183,7 @@
183 183 *
184 184 * RETURN: None
185 185 *
186   - * DESCRIPTION: Release an object to the specified cache. If cache is full,
  186 + * DESCRIPTION: Release an object to the specified cache. If cache is full,
187 187 * the object is deleted.
188 188 *
189 189 ******************************************************************************/
190 190  
... ... @@ -240,9 +240,9 @@
240 240 *
241 241 * PARAMETERS: cache - Handle to cache object
242 242 *
243   - * RETURN: the acquired object. NULL on error
  243 + * RETURN: the acquired object. NULL on error
244 244 *
245   - * DESCRIPTION: Get an object from the specified cache. If cache is empty,
  245 + * DESCRIPTION: Get an object from the specified cache. If cache is empty,
246 246 * the object is allocated.
247 247 *
248 248 ******************************************************************************/
drivers/acpi/acpica/utdebug.c
... ... @@ -223,7 +223,7 @@
223 223 *
224 224 * RETURN: None
225 225 *
226   - * DESCRIPTION: Print message with no headers. Has same interface as
  226 + * DESCRIPTION: Print message with no headers. Has same interface as
227 227 * debug_print so that the same macros can be used.
228 228 *
229 229 ******************************************************************************/
... ... @@ -259,7 +259,7 @@
259 259 *
260 260 * RETURN: None
261 261 *
262   - * DESCRIPTION: Function entry trace. Prints only if TRACE_FUNCTIONS bit is
  262 + * DESCRIPTION: Function entry trace. Prints only if TRACE_FUNCTIONS bit is
263 263 * set in debug_level
264 264 *
265 265 ******************************************************************************/
... ... @@ -291,7 +291,7 @@
291 291 *
292 292 * RETURN: None
293 293 *
294   - * DESCRIPTION: Function entry trace. Prints only if TRACE_FUNCTIONS bit is
  294 + * DESCRIPTION: Function entry trace. Prints only if TRACE_FUNCTIONS bit is
295 295 * set in debug_level
296 296 *
297 297 ******************************************************************************/
... ... @@ -321,7 +321,7 @@
321 321 *
322 322 * RETURN: None
323 323 *
324   - * DESCRIPTION: Function entry trace. Prints only if TRACE_FUNCTIONS bit is
  324 + * DESCRIPTION: Function entry trace. Prints only if TRACE_FUNCTIONS bit is
325 325 * set in debug_level
326 326 *
327 327 ******************************************************************************/
... ... @@ -352,7 +352,7 @@
352 352 *
353 353 * RETURN: None
354 354 *
355   - * DESCRIPTION: Function entry trace. Prints only if TRACE_FUNCTIONS bit is
  355 + * DESCRIPTION: Function entry trace. Prints only if TRACE_FUNCTIONS bit is
356 356 * set in debug_level
357 357 *
358 358 ******************************************************************************/
... ... @@ -382,7 +382,7 @@
382 382 *
383 383 * RETURN: None
384 384 *
385   - * DESCRIPTION: Function exit trace. Prints only if TRACE_FUNCTIONS bit is
  385 + * DESCRIPTION: Function exit trace. Prints only if TRACE_FUNCTIONS bit is
386 386 * set in debug_level
387 387 *
388 388 ******************************************************************************/
... ... @@ -414,7 +414,7 @@
414 414 *
415 415 * RETURN: None
416 416 *
417   - * DESCRIPTION: Function exit trace. Prints only if TRACE_FUNCTIONS bit is
  417 + * DESCRIPTION: Function exit trace. Prints only if TRACE_FUNCTIONS bit is
418 418 * set in debug_level. Prints exit status also.
419 419 *
420 420 ******************************************************************************/
... ... @@ -455,7 +455,7 @@
455 455 *
456 456 * RETURN: None
457 457 *
458   - * DESCRIPTION: Function exit trace. Prints only if TRACE_FUNCTIONS bit is
  458 + * DESCRIPTION: Function exit trace. Prints only if TRACE_FUNCTIONS bit is
459 459 * set in debug_level. Prints exit value also.
460 460 *
461 461 ******************************************************************************/
... ... @@ -487,7 +487,7 @@
487 487 *
488 488 * RETURN: None
489 489 *
490   - * DESCRIPTION: Function exit trace. Prints only if TRACE_FUNCTIONS bit is
  490 + * DESCRIPTION: Function exit trace. Prints only if TRACE_FUNCTIONS bit is
491 491 * set in debug_level. Prints exit value also.
492 492 *
493 493 ******************************************************************************/
drivers/acpi/acpica/utmath.c
... ... @@ -81,7 +81,7 @@
81 81 * RETURN: Status (Checks for divide-by-zero)
82 82 *
83 83 * DESCRIPTION: Perform a short (maximum 64 bits divided by 32 bits)
84   - * divide and modulo. The result is a 64-bit quotient and a
  84 + * divide and modulo. The result is a 64-bit quotient and a
85 85 * 32-bit remainder.
86 86 *
87 87 ******************************************************************************/
drivers/acpi/acpica/utmisc.c
... ... @@ -250,7 +250,7 @@
250 250 * control method or unloading a table. Either way, we would
251 251 * ignore any error anyway.
252 252 *
253   - * DESCRIPTION: Release a table or method owner ID. Valid IDs are 1 - 255
  253 + * DESCRIPTION: Release a table or method owner ID. Valid IDs are 1 - 255
254 254 *
255 255 ******************************************************************************/
256 256  
... ... @@ -534,8 +534,8 @@
534 534 * RETURN: None
535 535 *
536 536 * DESCRIPTION: Set the global integer bit width based upon the revision
537   - * of the DSDT. For Revision 1 and 0, Integers are 32 bits.
538   - * For Revision 2 and above, Integers are 64 bits. Yes, this
  537 + * of the DSDT. For Revision 1 and 0, Integers are 32 bits.
  538 + * For Revision 2 and above, Integers are 64 bits. Yes, this
539 539 * makes a difference.
540 540 *
541 541 ******************************************************************************/
... ... @@ -671,7 +671,7 @@
671 671 *
672 672 * RETURN: TRUE if the name is valid, FALSE otherwise
673 673 *
674   - * DESCRIPTION: Check for a valid ACPI name. Each character must be one of:
  674 + * DESCRIPTION: Check for a valid ACPI name. Each character must be one of:
675 675 * 1) Upper case alpha
676 676 * 2) numeric
677 677 * 3) underscore
678 678  
... ... @@ -1010,10 +1010,10 @@
1010 1010  
1011 1011 /*
1012 1012 * Check for:
1013   - * 1) An uninitialized package element. It is completely
  1013 + * 1) An uninitialized package element. It is completely
1014 1014 * legal to declare a package and leave it uninitialized
1015 1015 * 2) Not an internal object - can be a namespace node instead
1016   - * 3) Any type other than a package. Packages are handled in else
  1016 + * 3) Any type other than a package. Packages are handled in else
1017 1017 * case below.
1018 1018 */
1019 1019 if ((!this_source_obj) ||
... ... @@ -1032,7 +1032,7 @@
1032 1032 state->pkg.source_object->package.count) {
1033 1033 /*
1034 1034 * We've handled all of the objects at this level, This means
1035   - * that we have just completed a package. That package may
  1035 + * that we have just completed a package. That package may
1036 1036 * have contained one or more packages itself.
1037 1037 *
1038 1038 * Delete this state and pop the previous state (package).
drivers/acpi/acpica/utmutex.c
... ... @@ -228,9 +228,9 @@
228 228 /*
229 229 * Mutex debug code, for internal debugging only.
230 230 *
231   - * Deadlock prevention. Check if this thread owns any mutexes of value
232   - * greater than or equal to this one. If so, the thread has violated
233   - * the mutex ordering rule. This indicates a coding error somewhere in
  231 + * Deadlock prevention. Check if this thread owns any mutexes of value
  232 + * greater than or equal to this one. If so, the thread has violated
  233 + * the mutex ordering rule. This indicates a coding error somewhere in
234 234 * the ACPI subsystem code.
235 235 */
236 236 for (i = mutex_id; i < ACPI_NUM_MUTEX; i++) {
... ... @@ -321,9 +321,9 @@
321 321 /*
322 322 * Mutex debug code, for internal debugging only.
323 323 *
324   - * Deadlock prevention. Check if this thread owns any mutexes of value
325   - * greater than this one. If so, the thread has violated the mutex
326   - * ordering rule. This indicates a coding error somewhere in
  324 + * Deadlock prevention. Check if this thread owns any mutexes of value
  325 + * greater than this one. If so, the thread has violated the mutex
  326 + * ordering rule. This indicates a coding error somewhere in
327 327 * the ACPI subsystem code.
328 328 */
329 329 for (i = mutex_id; i < ACPI_NUM_MUTEX; i++) {
drivers/acpi/acpica/utobject.c
... ... @@ -77,7 +77,7 @@
77 77 *
78 78 * NOTE: We always allocate the worst-case object descriptor because
79 79 * these objects are cached, and we want them to be
80   - * one-size-satisifies-any-request. This in itself may not be
  80 + * one-size-satisifies-any-request. This in itself may not be
81 81 * the most memory efficient, but the efficiency of the object
82 82 * cache should more than make up for this!
83 83 *
84 84  
... ... @@ -370,9 +370,9 @@
370 370 * line_number - Caller's line number (for error output)
371 371 * component_id - Caller's component ID (for error output)
372 372 *
373   - * RETURN: Pointer to newly allocated object descriptor. Null on error
  373 + * RETURN: Pointer to newly allocated object descriptor. Null on error
374 374 *
375   - * DESCRIPTION: Allocate a new object descriptor. Gracefully handle
  375 + * DESCRIPTION: Allocate a new object descriptor. Gracefully handle
376 376 * error conditions.
377 377 *
378 378 ******************************************************************************/
... ... @@ -554,7 +554,7 @@
554 554  
555 555 /*
556 556 * Account for the space required by the object rounded up to the next
557   - * multiple of the machine word size. This keeps each object aligned
  557 + * multiple of the machine word size. This keeps each object aligned
558 558 * on a machine word boundary. (preventing alignment faults on some
559 559 * machines.)
560 560 */
drivers/acpi/acpica/utstate.c
... ... @@ -147,7 +147,7 @@
147 147 *
148 148 * RETURN: The new state object. NULL on failure.
149 149 *
150   - * DESCRIPTION: Create a generic state object. Attempt to obtain one from
  150 + * DESCRIPTION: Create a generic state object. Attempt to obtain one from
151 151 * the global state cache; If none available, create a new one.
152 152 *
153 153 ******************************************************************************/
drivers/acpi/acpica/uttrack.c
... ... @@ -45,9 +45,9 @@
45 45 * These procedures are used for tracking memory leaks in the subsystem, and
46 46 * they get compiled out when the ACPI_DBG_TRACK_ALLOCATIONS is not set.
47 47 *
48   - * Each memory allocation is tracked via a doubly linked list. Each
  48 + * Each memory allocation is tracked via a doubly linked list. Each
49 49 * element contains the caller's component, module name, function name, and
50   - * line number. acpi_ut_allocate and acpi_ut_allocate_zeroed call
  50 + * line number. acpi_ut_allocate and acpi_ut_allocate_zeroed call
51 51 * acpi_ut_track_allocation to add an element to the list; deletion
52 52 * occurs in the body of acpi_ut_free.
53 53 */
... ... @@ -499,7 +499,7 @@
499 499 * FUNCTION: acpi_ut_dump_allocations
500 500 *
501 501 * PARAMETERS: component - Component(s) to dump info for.
502   - * module - Module to dump info for. NULL means all.
  502 + * module - Module to dump info for. NULL means all.
503 503 *
504 504 * RETURN: None
505 505 *
drivers/acpi/acpica/utxface.c
... ... @@ -147,7 +147,7 @@
147 147 * RETURN: status - the status of the call
148 148 *
149 149 * DESCRIPTION: This function is called to get information about the current
150   - * state of the ACPI subsystem. It will return system information
  150 + * state of the ACPI subsystem. It will return system information
151 151 * in the out_buffer.
152 152 *
153 153 * If the function fails an appropriate status will be returned
include/acpi/acexcep.h
... ... @@ -122,7 +122,7 @@
122 122 #define AE_CODE_TBL_MAX 0x0005
123 123  
124 124 /*
125   - * AML exceptions. These are caused by problems with
  125 + * AML exceptions. These are caused by problems with
126 126 * the actual AML byte stream
127 127 */
128 128 #define AE_AML_BAD_OPCODE (acpi_status) (0x0001 | AE_CODE_AML)