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

ACPI/ACPICA: Trivial: fix spelling mistakes and fix whitespace formatting

Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Erik Schmauss and committed by
Rafael J. Wysocki
c163f90c 8f5a14d0

+72 -70
+1 -1
drivers/acpi/acpica/aclocal.h
··· 802 802 803 803 /* 804 804 * File node - used for "Include" operator file stack and 805 - * depdendency tree for the -ca option 805 + * dependency tree for the -ca option 806 806 */ 807 807 struct acpi_file_node { 808 808 void *file;
+1 -1
drivers/acpi/acpica/acmacros.h
··· 462 462 #define ACPI_IS_OCTAL_DIGIT(d) (((char)(d) >= '0') && ((char)(d) <= '7')) 463 463 464 464 /* 465 - * Macors used for the ASL-/ASL+ converter utility 465 + * Macros used for the ASL-/ASL+ converter utility 466 466 */ 467 467 #ifdef ACPI_ASL_COMPILER 468 468
+2 -2
drivers/acpi/acpica/dbdisply.c
··· 237 237 238 238 default: 239 239 240 - /* Is not a recognizeable object */ 240 + /* Is not a recognizable object */ 241 241 242 242 acpi_os_printf 243 243 ("Not a known ACPI internal object, descriptor type %2.2X\n", ··· 647 647 * 648 648 * DESCRIPTION: Display the result of an AML opcode 649 649 * 650 - * Note: Curently only displays the result object if we are single stepping. 650 + * Note: Currently only displays the result object if we are single stepping. 651 651 * However, this output may be useful in other contexts and could be enabled 652 652 * to do so if needed. 653 653 *
+1 -1
drivers/acpi/acpica/dbnames.c
··· 904 904 * 905 905 * RETURN: None 906 906 * 907 - * DESCRIPTION: Display info about system busses. 907 + * DESCRIPTION: Display info about system buses. 908 908 * 909 909 ******************************************************************************/ 910 910
+1 -1
drivers/acpi/acpica/dbobject.c
··· 243 243 acpi_os_printf("[%s] ", 244 244 acpi_ut_get_reference_name(obj_desc)); 245 245 246 - /* Decode the refererence */ 246 + /* Decode the reference */ 247 247 248 248 switch (obj_desc->reference.class) { 249 249 case ACPI_REFCLASS_LOCAL:
+1 -1
drivers/acpi/acpica/dswload2.c
··· 24 24 * FUNCTION: acpi_ds_load2_begin_op 25 25 * 26 26 * PARAMETERS: walk_state - Current state of the parse tree walk 27 - * out_op - Wher to return op if a new one is created 27 + * out_op - Where to return op if a new one is created 28 28 * 29 29 * RETURN: Status 30 30 *
+1 -1
drivers/acpi/acpica/evgpe.c
··· 801 801 dispatch.handler-> 802 802 context); 803 803 804 - /* If requested, clear (if level-triggered) and reenable the GPE */ 804 + /* If requested, clear (if level-triggered) and re-enable the GPE */ 805 805 806 806 if (return_value & ACPI_REENABLE_GPE) { 807 807 (void)acpi_ev_finish_gpe(gpe_event_info);
+1 -1
drivers/acpi/acpica/evregion.c
··· 250 250 /* 251 251 * For handlers other than the default (supplied) handlers, we must 252 252 * exit the interpreter because the handler *might* block -- we don't 253 - * know what it will do, so we can't hold the lock on the intepreter. 253 + * know what it will do, so we can't hold the lock on the interpreter. 254 254 */ 255 255 acpi_ex_exit_interpreter(); 256 256 }
+2 -2
drivers/acpi/acpica/evxfgpe.c
··· 669 669 * 670 670 * RETURN: Status 671 671 * 672 - * DESCRIPTION: Clear and conditionally reenable a GPE. This completes the GPE 672 + * DESCRIPTION: Clear and conditionally re-enable a GPE. This completes the GPE 673 673 * processing. Intended for use by asynchronous host-installed 674 - * GPE handlers. The GPE is only reenabled if the enable_for_run bit 674 + * GPE handlers. The GPE is only re-enabled if the enable_for_run bit 675 675 * is set in the GPE info. 676 676 * 677 677 ******************************************************************************/
+1 -1
drivers/acpi/acpica/exconvrt.c
··· 520 520 for (i = 0; i < obj_desc->buffer.length; i++) { 521 521 if (base == 16) { 522 522 523 - /* Emit 0x prefix for explict/implicit hex conversion */ 523 + /* Emit 0x prefix for explicit/implicit hex conversion */ 524 524 525 525 *new_buf++ = '0'; 526 526 *new_buf++ = 'x';
+4 -3
drivers/acpi/acpica/exfield.c
··· 41 41 0xFF /* F - ATTRIB_RAW_PROCESS_BYTES */ 42 42 }; 43 43 44 - #define PCC_MASTER_SUBSPACE 3 44 + #define PCC_MASTER_SUBSPACE 3 45 45 46 46 /* 47 47 * The following macros determine a given offset is a COMD field. ··· 49 49 * 2-byte COMD field at offset 4 and master subspaces (type 3) contains a 4-byte 50 50 * COMD field starting at offset 12. 51 51 */ 52 - #define GENERIC_SUBSPACE_COMMAND(a) (4 == a || a == 5) 53 - #define MASTER_SUBSPACE_COMMAND(a) (12 <= a && a <= 15) 52 + #define GENERIC_SUBSPACE_COMMAND(a) (4 == a || a == 5) 53 + #define MASTER_SUBSPACE_COMMAND(a) (12 <= a && a <= 15) 54 54 55 55 /******************************************************************************* 56 56 * ··· 319 319 memcpy(obj_desc->field.region_obj->field.internal_pcc_buffer + 320 320 obj_desc->field.base_byte_offset, 321 321 source_desc->buffer.pointer, data_length); 322 + 322 323 if ((obj_desc->field.region_obj->region.address == 323 324 PCC_MASTER_SUBSPACE 324 325 && MASTER_SUBSPACE_COMMAND(obj_desc->field.
+1 -1
drivers/acpi/acpica/exserial.c
··· 21 21 * FUNCTION: acpi_ex_read_gpio 22 22 * 23 23 * PARAMETERS: obj_desc - The named field to read 24 - * buffer - Where the return data is returnd 24 + * buffer - Where the return data is returned 25 25 * 26 26 * RETURN: Status 27 27 *
+1 -1
drivers/acpi/acpica/exutils.c
··· 160 160 * RETURN: None 161 161 * 162 162 * DESCRIPTION: Obtain the ACPI hardware Global Lock, only if the field 163 - * flags specifiy that it is to be obtained before field access. 163 + * flags specify that it is to be obtained before field access. 164 164 * 165 165 ******************************************************************************/ 166 166
+1 -1
drivers/acpi/acpica/nsload.c
··· 75 75 /* 76 76 * On error, delete any namespace objects created by this table. 77 77 * We cannot initialize these objects, so delete them. There are 78 - * a couple of expecially bad cases: 78 + * a couple of especially bad cases: 79 79 * AE_ALREADY_EXISTS - namespace collision. 80 80 * AE_NOT_FOUND - the target of a Scope operator does not 81 81 * exist. This target of Scope must already exist in the
+1 -1
drivers/acpi/acpica/nsutils.c
··· 350 350 * 351 351 * FUNCTION: acpi_ns_externalize_name 352 352 * 353 - * PARAMETERS: internal_name_length - Lenth of the internal name below 353 + * PARAMETERS: internal_name_length - Length of the internal name below 354 354 * internal_name - Internal representation of name 355 355 * converted_name_length - Where the length is returned 356 356 * converted_name - Where the resulting external name
+7 -7
drivers/acpi/acpica/rsdumpinfo.c
··· 32 32 acpi_gbl_he_decode}, 33 33 {ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET(irq.polarity), "Polarity", 34 34 acpi_gbl_ll_decode}, 35 - {ACPI_RSD_2BITFLAG, ACPI_RSD_OFFSET(irq.sharable), "Sharing", 35 + {ACPI_RSD_2BITFLAG, ACPI_RSD_OFFSET(irq.shareable), "Sharing", 36 36 acpi_gbl_shr_decode}, 37 37 {ACPI_RSD_UINT8, ACPI_RSD_OFFSET(irq.interrupt_count), 38 38 "Interrupt Count", NULL}, ··· 222 222 "Triggering", acpi_gbl_he_decode}, 223 223 {ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET(extended_irq.polarity), "Polarity", 224 224 acpi_gbl_ll_decode}, 225 - {ACPI_RSD_2BITFLAG, ACPI_RSD_OFFSET(extended_irq.sharable), "Sharing", 225 + {ACPI_RSD_2BITFLAG, ACPI_RSD_OFFSET(extended_irq.shareable), "Sharing", 226 226 acpi_gbl_shr_decode}, 227 227 {ACPI_RSD_SOURCE, ACPI_RSD_OFFSET(extended_irq.resource_source), NULL, 228 228 NULL}, ··· 255 255 "ProducerConsumer", acpi_gbl_consume_decode}, 256 256 {ACPI_RSD_UINT8, ACPI_RSD_OFFSET(gpio.pin_config), "PinConfig", 257 257 acpi_gbl_ppc_decode}, 258 - {ACPI_RSD_2BITFLAG, ACPI_RSD_OFFSET(gpio.sharable), "Sharing", 258 + {ACPI_RSD_2BITFLAG, ACPI_RSD_OFFSET(gpio.shareable), "Sharing", 259 259 acpi_gbl_shr_decode}, 260 260 {ACPI_RSD_2BITFLAG, ACPI_RSD_OFFSET(gpio.io_restriction), 261 261 "IoRestriction", acpi_gbl_ior_decode}, ··· 285 285 "RevisionId", NULL}, 286 286 {ACPI_RSD_UINT8, ACPI_RSD_OFFSET(pin_function.pin_config), "PinConfig", 287 287 acpi_gbl_ppc_decode}, 288 - {ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET(pin_function.sharable), "Sharing", 288 + {ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET(pin_function.shareable), "Sharing", 289 289 acpi_gbl_shr_decode}, 290 290 {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(pin_function.function_number), 291 291 "FunctionNumber", NULL}, ··· 308 308 NULL}, 309 309 {ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET(pin_config.producer_consumer), 310 310 "ProducerConsumer", acpi_gbl_consume_decode}, 311 - {ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET(pin_config.sharable), "Sharing", 311 + {ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET(pin_config.shareable), "Sharing", 312 312 acpi_gbl_shr_decode}, 313 313 {ACPI_RSD_UINT8, ACPI_RSD_OFFSET(pin_config.pin_config_type), 314 314 "PinConfigType", NULL}, ··· 353 353 {ACPI_RSD_1BITFLAG, 354 354 ACPI_RSD_OFFSET(pin_group_function.producer_consumer), 355 355 "ProducerConsumer", acpi_gbl_consume_decode}, 356 - {ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET(pin_group_function.sharable), 356 + {ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET(pin_group_function.shareable), 357 357 "Sharing", acpi_gbl_shr_decode}, 358 358 {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(pin_group_function.function_number), 359 359 "FunctionNumber", NULL}, ··· 375 375 "RevisionId", NULL}, 376 376 {ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET(pin_group_config.producer_consumer), 377 377 "ProducerConsumer", acpi_gbl_consume_decode}, 378 - {ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET(pin_group_config.sharable), 378 + {ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET(pin_group_config.shareable), 379 379 "Sharing", acpi_gbl_shr_decode}, 380 380 {ACPI_RSD_UINT8, ACPI_RSD_OFFSET(pin_group_config.pin_config_type), 381 381 "PinConfigType", NULL},
+4 -4
drivers/acpi/acpica/rsirq.c
··· 54 54 AML_OFFSET(irq.flags), 55 55 3}, 56 56 57 - {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.irq.sharable), 57 + {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.irq.shareable), 58 58 AML_OFFSET(irq.flags), 59 59 4}, 60 60 ··· 92 92 AML_OFFSET(irq.flags), 93 93 3}, 94 94 95 - {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.irq.sharable), 95 + {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.irq.shareable), 96 96 AML_OFFSET(irq.flags), 97 97 4}, 98 98 ··· 139 139 ACPI_ACTIVE_HIGH}, 140 140 141 141 {ACPI_RSC_EXIT_NE, ACPI_RSC_COMPARE_VALUE, 142 - ACPI_RS_OFFSET(data.irq.sharable), 142 + ACPI_RS_OFFSET(data.irq.shareable), 143 143 ACPI_EXCLUSIVE}, 144 144 145 145 /* We can optimize to a 2-byte irq_no_flags() descriptor */ ··· 178 178 AML_OFFSET(extended_irq.flags), 179 179 2}, 180 180 181 - {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.extended_irq.sharable), 181 + {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.extended_irq.shareable), 182 182 AML_OFFSET(extended_irq.flags), 183 183 3}, 184 184
+5 -5
drivers/acpi/acpica/rsserial.c
··· 39 39 AML_OFFSET(gpio.flags), 40 40 0}, 41 41 42 - {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.gpio.sharable), 42 + {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.gpio.shareable), 43 43 AML_OFFSET(gpio.int_flags), 44 44 3}, 45 45 ··· 128 128 AML_OFFSET(pin_function.revision_id), 129 129 1}, 130 130 131 - {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.pin_function.sharable), 131 + {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.pin_function.shareable), 132 132 AML_OFFSET(pin_function.flags), 133 133 0}, 134 134 ··· 518 518 AML_OFFSET(pin_config.revision_id), 519 519 1}, 520 520 521 - {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.pin_config.sharable), 521 + {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.pin_config.shareable), 522 522 AML_OFFSET(pin_config.flags), 523 523 0}, 524 524 ··· 658 658 AML_OFFSET(pin_group_function.revision_id), 659 659 1}, 660 660 661 - {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.pin_group_function.sharable), 661 + {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.pin_group_function.shareable), 662 662 AML_OFFSET(pin_group_function.flags), 663 663 0}, 664 664 ··· 735 735 AML_OFFSET(pin_group_config.revision_id), 736 736 1}, 737 737 738 - {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.pin_group_config.sharable), 738 + {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.pin_group_config.shareable), 739 739 AML_OFFSET(pin_group_config.flags), 740 740 0}, 741 741
+1 -1
drivers/acpi/acpica/tbfadt.c
··· 556 556 * 64-bit X length field. 557 557 * Note: If the legacy length field is > 0xFF bits, ignore 558 558 * this check. (GPE registers can be larger than the 559 - * 64-bit GAS structure can accomodate, 0xFF bits). 559 + * 64-bit GAS structure can accommodate, 0xFF bits). 560 560 */ 561 561 if ((ACPI_MUL_8(length) <= ACPI_UINT8_MAX) && 562 562 (address64->bit_width !=
+2 -2
drivers/acpi/acpica/tbxface.c
··· 108 108 /* 109 109 * Get the root table (RSDT or XSDT) and extract all entries to the local 110 110 * Root Table Array. This array contains the information of the RSDT/XSDT 111 - * in a common, more useable format. 111 + * in a common, more usable format. 112 112 */ 113 113 status = acpi_tb_parse_root_table(rsdp_address); 114 114 return_ACPI_STATUS(status); ··· 169 169 if (!acpi_gbl_enable_table_validation) { 170 170 /* 171 171 * Now it's safe to do full table validation. We can do deferred 172 - * table initilization here once the flag is set. 172 + * table initialization here once the flag is set. 173 173 */ 174 174 acpi_gbl_enable_table_validation = TRUE; 175 175 for (i = 0; i < acpi_gbl_root_table_list.current_table_count;
+2 -2
drivers/acpi/irq.c
··· 196 196 fwnode = acpi_gsi_domain_id; 197 197 acpi_irq_parse_one_match(fwnode, irq->interrupts[ctx->index], 198 198 irq->triggering, irq->polarity, 199 - irq->sharable, ctx); 199 + irq->shareable, ctx); 200 200 return AE_CTRL_TERMINATE; 201 201 case ACPI_RESOURCE_TYPE_EXTENDED_IRQ: 202 202 eirq = &ares->data.extended_irq; ··· 209 209 fwnode = acpi_get_irq_source_fwhandle(&eirq->resource_source); 210 210 acpi_irq_parse_one_match(fwnode, eirq->interrupts[ctx->index], 211 211 eirq->triggering, eirq->polarity, 212 - eirq->sharable, ctx); 212 + eirq->shareable, ctx); 213 213 return AE_CTRL_TERMINATE; 214 214 } 215 215
+4 -4
drivers/acpi/pci_link.c
··· 317 317 resource->res.data.irq.polarity = 318 318 link->irq.polarity; 319 319 if (link->irq.triggering == ACPI_EDGE_SENSITIVE) 320 - resource->res.data.irq.sharable = 320 + resource->res.data.irq.shareable = 321 321 ACPI_EXCLUSIVE; 322 322 else 323 - resource->res.data.irq.sharable = ACPI_SHARED; 323 + resource->res.data.irq.shareable = ACPI_SHARED; 324 324 resource->res.data.irq.interrupt_count = 1; 325 325 resource->res.data.irq.interrupts[0] = irq; 326 326 break; ··· 335 335 resource->res.data.extended_irq.polarity = 336 336 link->irq.polarity; 337 337 if (link->irq.triggering == ACPI_EDGE_SENSITIVE) 338 - resource->res.data.irq.sharable = 338 + resource->res.data.irq.shareable = 339 339 ACPI_EXCLUSIVE; 340 340 else 341 - resource->res.data.irq.sharable = ACPI_SHARED; 341 + resource->res.data.irq.shareable = ACPI_SHARED; 342 342 resource->res.data.extended_irq.interrupt_count = 1; 343 343 resource->res.data.extended_irq.interrupts[0] = irq; 344 344 /* ignore resource_source, it's optional */
+2 -2
drivers/acpi/resource.c
··· 476 476 } 477 477 acpi_dev_get_irqresource(res, irq->interrupts[index], 478 478 irq->triggering, irq->polarity, 479 - irq->sharable, true); 479 + irq->shareable, true); 480 480 break; 481 481 case ACPI_RESOURCE_TYPE_EXTENDED_IRQ: 482 482 ext_irq = &ares->data.extended_irq; ··· 487 487 if (is_gsi(ext_irq)) 488 488 acpi_dev_get_irqresource(res, ext_irq->interrupts[index], 489 489 ext_irq->triggering, ext_irq->polarity, 490 - ext_irq->sharable, false); 490 + ext_irq->shareable, false); 491 491 else 492 492 acpi_dev_irqresource_disabled(res, 0); 493 493 break;
+1 -1
drivers/gpio/gpiolib-acpi.c
··· 897 897 * event but only if the access here is ACPI_READ. In that 898 898 * case we "borrow" the event GPIO instead. 899 899 */ 900 - if (!found && agpio->sharable == ACPI_SHARED && 900 + if (!found && agpio->shareable == ACPI_SHARED && 901 901 function == ACPI_READ) { 902 902 struct acpi_gpio_event *event; 903 903
+4 -4
drivers/platform/x86/sony-laptop.c
··· 4392 4392 list_add(&interrupt->list, &dev->interrupts); 4393 4393 interrupt->irq.triggering = p->triggering; 4394 4394 interrupt->irq.polarity = p->polarity; 4395 - interrupt->irq.sharable = p->sharable; 4395 + interrupt->irq.shareable = p->shareable; 4396 4396 interrupt->irq.interrupt_count = 1; 4397 4397 interrupt->irq.interrupts[0] = p->interrupts[i]; 4398 4398 } ··· 4546 4546 memcpy(&resource->res3.data.irq, &irq->irq, 4547 4547 sizeof(struct acpi_resource_irq)); 4548 4548 /* we requested a shared irq */ 4549 - resource->res3.data.irq.sharable = ACPI_SHARED; 4549 + resource->res3.data.irq.shareable = ACPI_SHARED; 4550 4550 4551 4551 resource->res4.type = ACPI_RESOURCE_TYPE_END_TAG; 4552 4552 resource->res4.length = sizeof(struct acpi_resource); ··· 4565 4565 memcpy(&resource->res2.data.irq, &irq->irq, 4566 4566 sizeof(struct acpi_resource_irq)); 4567 4567 /* we requested a shared irq */ 4568 - resource->res2.data.irq.sharable = ACPI_SHARED; 4568 + resource->res2.data.irq.shareable = ACPI_SHARED; 4569 4569 4570 4570 resource->res3.type = ACPI_RESOURCE_TYPE_END_TAG; 4571 4571 resource->res3.length = sizeof(struct acpi_resource); ··· 4779 4779 irq->irq.interrupts[0], 4780 4780 irq->irq.triggering, 4781 4781 irq->irq.polarity, 4782 - irq->irq.sharable); 4782 + irq->irq.shareable); 4783 4783 spic_dev.cur_irq = irq; 4784 4784 break; 4785 4785 }
+7 -7
drivers/pnp/pnpacpi/rsparser.c
··· 215 215 if (i >= 0) { 216 216 flags = acpi_dev_irq_flags(gpio->triggering, 217 217 gpio->polarity, 218 - gpio->sharable); 218 + gpio->shareable); 219 219 } else { 220 220 flags = IORESOURCE_DISABLED; 221 221 } ··· 324 324 if (p->interrupts[i]) 325 325 __set_bit(p->interrupts[i], map.bits); 326 326 327 - flags = acpi_dev_irq_flags(p->triggering, p->polarity, p->sharable); 327 + flags = acpi_dev_irq_flags(p->triggering, p->polarity, p->shareable); 328 328 pnp_register_irq_resource(dev, option_flags, &map, flags); 329 329 } 330 330 ··· 348 348 } 349 349 } 350 350 351 - flags = acpi_dev_irq_flags(p->triggering, p->polarity, p->sharable); 351 + flags = acpi_dev_irq_flags(p->triggering, p->polarity, p->shareable); 352 352 pnp_register_irq_resource(dev, option_flags, &map, flags); 353 353 } 354 354 ··· 681 681 decode_irq_flags(dev, p->flags, &triggering, &polarity, &shareable); 682 682 irq->triggering = triggering; 683 683 irq->polarity = polarity; 684 - irq->sharable = shareable; 684 + irq->shareable = shareable; 685 685 irq->interrupt_count = 1; 686 686 irq->interrupts[0] = p->start; 687 687 ··· 689 689 (int) p->start, 690 690 triggering == ACPI_LEVEL_SENSITIVE ? "level" : "edge", 691 691 polarity == ACPI_ACTIVE_LOW ? "low" : "high", 692 - irq->sharable == ACPI_SHARED ? "shared" : "exclusive", 692 + irq->shareable == ACPI_SHARED ? "shared" : "exclusive", 693 693 irq->descriptor_length); 694 694 } 695 695 ··· 711 711 extended_irq->producer_consumer = ACPI_CONSUMER; 712 712 extended_irq->triggering = triggering; 713 713 extended_irq->polarity = polarity; 714 - extended_irq->sharable = shareable; 714 + extended_irq->shareable = shareable; 715 715 extended_irq->interrupt_count = 1; 716 716 extended_irq->interrupts[0] = p->start; 717 717 718 718 pnp_dbg(&dev->dev, " encode irq %d %s %s %s\n", (int) p->start, 719 719 triggering == ACPI_LEVEL_SENSITIVE ? "level" : "edge", 720 720 polarity == ACPI_ACTIVE_LOW ? "low" : "high", 721 - extended_irq->sharable == ACPI_SHARED ? "shared" : "exclusive"); 721 + extended_irq->shareable == ACPI_SHARED ? "shared" : "exclusive"); 722 722 } 723 723 724 724 static void pnpacpi_encode_dma(struct pnp_dev *dev,
+1 -1
include/acpi/acconfig.h
··· 141 141 142 142 /* 143 143 * Maximal number of elements the Result Stack can contain, 144 - * it may be an arbitray value not exceeding the types of 144 + * it may be an arbitrary value not exceeding the types of 145 145 * result_size and result_count (now u8). 146 146 */ 147 147 #define ACPI_RESULTS_OBJ_NUM_MAX 255
+2 -1
include/acpi/acexcep.h
··· 311 311 "An ACPI name contains invalid character(s)"), 312 312 EXCEP_TXT("AE_AML_NAME_NOT_FOUND", 313 313 "Could not resolve a named reference"), 314 - EXCEP_TXT("AE_AML_INTERNAL", "An internal error within the interprete"), 314 + EXCEP_TXT("AE_AML_INTERNAL", 315 + "An internal error within the interpreter"), 315 316 EXCEP_TXT("AE_AML_INVALID_SPACE_ID", 316 317 "An Operation Region SpaceID is invalid"), 317 318 EXCEP_TXT("AE_AML_STRING_LIMIT",
+7 -7
include/acpi/acrestyp.h
··· 139 139 u8 descriptor_length; 140 140 u8 triggering; 141 141 u8 polarity; 142 - u8 sharable; 142 + u8 shareable; 143 143 u8 wake_capable; 144 144 u8 interrupt_count; 145 145 u8 interrupts[1]; ··· 328 328 u8 producer_consumer; 329 329 u8 triggering; 330 330 u8 polarity; 331 - u8 sharable; 331 + u8 shareable; 332 332 u8 wake_capable; 333 333 u8 interrupt_count; 334 334 struct acpi_resource_source resource_source; ··· 348 348 u8 connection_type; 349 349 u8 producer_consumer; /* For values, see Producer/Consumer above */ 350 350 u8 pin_config; 351 - u8 sharable; /* For values, see Interrupt Attributes above */ 351 + u8 shareable; /* For values, see Interrupt Attributes above */ 352 352 u8 wake_capable; /* For values, see Interrupt Attributes above */ 353 353 u8 io_restriction; 354 354 u8 triggering; /* For values, see Interrupt Attributes above */ ··· 508 508 struct acpi_resource_pin_function { 509 509 u8 revision_id; 510 510 u8 pin_config; 511 - u8 sharable; /* For values, see Interrupt Attributes above */ 511 + u8 shareable; /* For values, see Interrupt Attributes above */ 512 512 u16 function_number; 513 513 u16 pin_table_length; 514 514 u16 vendor_length; ··· 520 520 struct acpi_resource_pin_config { 521 521 u8 revision_id; 522 522 u8 producer_consumer; /* For values, see Producer/Consumer above */ 523 - u8 sharable; /* For values, see Interrupt Attributes above */ 523 + u8 shareable; /* For values, see Interrupt Attributes above */ 524 524 u8 pin_config_type; 525 525 u32 pin_config_value; 526 526 u16 pin_table_length; ··· 560 560 struct acpi_resource_pin_group_function { 561 561 u8 revision_id; 562 562 u8 producer_consumer; /* For values, see Producer/Consumer above */ 563 - u8 sharable; /* For values, see Interrupt Attributes above */ 563 + u8 shareable; /* For values, see Interrupt Attributes above */ 564 564 u16 function_number; 565 565 u16 vendor_length; 566 566 struct acpi_resource_source resource_source; ··· 571 571 struct acpi_resource_pin_group_config { 572 572 u8 revision_id; 573 573 u8 producer_consumer; /* For values, see Producer/Consumer above */ 574 - u8 sharable; /* For values, see Interrupt Attributes above */ 574 + u8 shareable; /* For values, see Interrupt Attributes above */ 575 575 u8 pin_config_type; /* For values, see pin_config_type above */ 576 576 u32 pin_config_value; 577 577 u16 vendor_length;
+2 -2
include/acpi/actbl1.h
··· 562 562 563 563 #define ACPI_DMAR_INCLUDE_ALL (1) 564 564 565 - /* 1: Reserved Memory Defininition */ 565 + /* 1: Reserved Memory Definition */ 566 566 567 567 struct acpi_dmar_reserved_memory { 568 568 struct acpi_dmar_header header; ··· 1395 1395 /* Values for HMAT structure types */ 1396 1396 1397 1397 enum acpi_hmat_type { 1398 - ACPI_HMAT_TYPE_ADDRESS_RANGE = 0, /* Memory subystem address range */ 1398 + ACPI_HMAT_TYPE_ADDRESS_RANGE = 0, /* Memory subsystem address range */ 1399 1399 ACPI_HMAT_TYPE_LOCALITY = 1, /* System locality latency and bandwidth information */ 1400 1400 ACPI_HMAT_TYPE_CACHE = 2, /* Memory side cache information */ 1401 1401 ACPI_HMAT_TYPE_RESERVED = 3 /* 3 and greater are reserved */
+1 -1
include/acpi/actbl2.h
··· 143 143 */ 144 144 struct acpi_iort_its_group { 145 145 u32 its_count; 146 - u32 identifiers[1]; /* GIC ITS identifier arrary */ 146 + u32 identifiers[1]; /* GIC ITS identifier array */ 147 147 }; 148 148 149 149 struct acpi_iort_named_component {