ACPI: video: Fix spelling and grammar mistakes

Correct some of the most obvious spelling and grammar
mistakes in drivers/acpi/video.c (comments and printk output).

Signed-off-by: Julius Volz <juliusrv@gmail.com>
Signed-off-by: Len Brown <len.brown@intel.com>

authored by Julius Volz and committed by Len Brown 98fb8fe1 5b27b176

+19 -19
+19 -19
drivers/acpi/video.c
··· 102 102 103 103 struct acpi_video_device_attrib { 104 104 u32 display_index:4; /* A zero-based instance of the Display */ 105 - u32 display_port_attachment:4; /*This field differenates displays type */ 105 + u32 display_port_attachment:4; /*This field differentiates the display type */ 106 106 u32 display_type:4; /*Describe the specific type in use */ 107 - u32 vendor_specific:4; /*Chipset Vendor Specifi */ 107 + u32 vendor_specific:4; /*Chipset Vendor Specific */ 108 108 u32 bios_can_detect:1; /*BIOS can detect the device */ 109 109 u32 depend_on_vga:1; /*Non-VGA output device whose power is related to 110 110 the VGA device. */ ··· 484 484 * 0. The system BIOS should NOT automatically switch(toggle) 485 485 * the active display output. 486 486 * 1. The system BIOS should automatically switch (toggle) the 487 - * active display output. No swich event. 487 + * active display output. No switch event. 488 488 * 2. The _DGS value should be locked. 489 489 * 3. The system BIOS should not automatically switch (toggle) the 490 490 * active display output, but instead generate the display switch 491 491 * event notify code. 492 492 * lcd_flag : 493 493 * 0. The system BIOS should automatically control the brightness level 494 - * of the LCD, when the power changes from AC to DC 494 + * of the LCD when the power changes from AC to DC 495 495 * 1. The system BIOS should NOT automatically control the brightness 496 - * level of the LCD, when the power changes from AC to DC. 496 + * level of the LCD when the power changes from AC to DC. 497 497 * Return Value: 498 498 * -1 wrong arg. 499 499 */ ··· 525 525 * Return Value: 526 526 * None 527 527 * 528 - * Find out all required AML method defined under the output 528 + * Find out all required AML methods defined under the output 529 529 * device. 530 530 */ 531 531 ··· 636 636 * Return Value: 637 637 * None 638 638 * 639 - * Find out all required AML method defined under the video bus device. 639 + * Find out all required AML methods defined under the video bus device. 640 640 */ 641 641 642 642 static void acpi_video_bus_find_cap(struct acpi_video_bus *video) ··· 681 681 * to check well known required nodes. 682 682 */ 683 683 684 - /* Does this device able to support video switching ? */ 684 + /* Does this device support video switching? */ 685 685 if (video->cap._DOS) { 686 686 video->flags.multihead = 1; 687 687 status = 0; 688 688 } 689 689 690 - /* Does this device able to retrieve a retrieve a video ROM ? */ 690 + /* Does this device support retrieving a video ROM? */ 691 691 if (video->cap._ROM) { 692 692 video->flags.rom = 1; 693 693 status = 0; 694 694 } 695 695 696 - /* Does this device able to configure which video device to POST ? */ 696 + /* Does this device support configuring which video device to POST? */ 697 697 if (video->cap._GPD && video->cap._SPD && video->cap._VPO) { 698 698 video->flags.post = 1; 699 699 status = 0; ··· 860 860 if (level > 100) 861 861 return -EFAULT; 862 862 863 - /* validate though the list of available levels */ 863 + /* validate through the list of available levels */ 864 864 for (i = 0; i < dev->brightness->count; i++) 865 865 if (level == dev->brightness->levels[i]) { 866 866 if (ACPI_SUCCESS ··· 1065 1065 printk(KERN_WARNING PREFIX 1066 1066 "The motherboard VGA device is not listed as a possible POST device.\n"); 1067 1067 printk(KERN_WARNING PREFIX 1068 - "This indicate a BIOS bug. Please contact the manufacturer.\n"); 1068 + "This indicates a BIOS bug. Please contact the manufacturer.\n"); 1069 1069 } 1070 1070 printk("%lx\n", options); 1071 - seq_printf(seq, "can POST: <intgrated video>"); 1071 + seq_printf(seq, "can POST: <integrated video>"); 1072 1072 if (options & 2) 1073 1073 seq_printf(seq, " <PCI video>"); 1074 1074 if (options & 4) ··· 1102 1102 seq_printf(seq, "<not supported>\n"); 1103 1103 goto end; 1104 1104 } 1105 - seq_printf(seq, "device posted is <%s>\n", device_decode[id & 3]); 1105 + seq_printf(seq, "device POSTed is <%s>\n", device_decode[id & 3]); 1106 1106 1107 1107 end: 1108 1108 return 0; ··· 1156 1156 if (opt > 3) 1157 1157 return -EFAULT; 1158 1158 1159 - /* just in case an OEM 'forget' the motherboard... */ 1159 + /* just in case an OEM 'forgot' the motherboard... */ 1160 1160 options |= 1; 1161 1161 1162 1162 if (options & (1ul << opt)) { ··· 1527 1527 /* 1528 1528 * Arg: 1529 1529 * video : video bus device 1530 - * event : Nontify Event 1530 + * event : notify event 1531 1531 * 1532 1532 * Return: 1533 1533 * < 0 : error 1534 1534 * 1535 1535 * 1. Find out the current active output device. 1536 - * 2. Identify the next output device to switch 1536 + * 2. Identify the next output device to switch to. 1537 1537 * 3. call _DSS to do actual switch. 1538 1538 */ 1539 1539 ··· 1723 1723 device = video->device; 1724 1724 1725 1725 switch (event) { 1726 - case ACPI_VIDEO_NOTIFY_SWITCH: /* User request that a switch occur, 1726 + case ACPI_VIDEO_NOTIFY_SWITCH: /* User requested a switch, 1727 1727 * most likely via hotkey. */ 1728 1728 acpi_bus_generate_event(device, event, 0); 1729 1729 break; 1730 1730 1731 - case ACPI_VIDEO_NOTIFY_PROBE: /* User plug or remove a video 1731 + case ACPI_VIDEO_NOTIFY_PROBE: /* User plugged in or removed a video 1732 1732 * connector. */ 1733 1733 acpi_video_device_enumerate(video); 1734 1734 acpi_video_device_rebind(video);