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

Input: correct typos in multiple comments across misc drivers

Fixed some confusing typos that were currently identified witch codespell,
the details are as follows:

-in the code comments:
drivers/input/misc/drv2665.c:18: Contol ==> Control
drivers/input/misc/drv2667.c:19: Contol ==> Control
drivers/input/misc/ideapad_slidebar.c:26: meaningfull ==> meaningful
drivers/input/misc/ims-pcu.c:742: bootoloader ==> bootloader
drivers/input/misc/kxtj9.c:28: funtion ==> function
drivers/input/misc/soc_button_array.c:518: indentical ==> identical
drivers/input/misc/wistron_btns.c:274: satelite ==> satellite
drivers/input/misc/yealink.c:380: singe ==> single
drivers/input/misc/yealink.c:617: coresponding ==> corresponding

Signed-off-by: Shen Lichuan <shenlichuan@vivo.com>
Link: https://lore.kernel.org/r/20240926075515.10042-1-shenlichuan@vivo.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Shen Lichuan and committed by
Dmitry Torokhov
515ef92b b0352120

+9 -9
+1 -1
drivers/input/misc/drv2665.c
··· 15 15 #include <linux/delay.h> 16 16 #include <linux/regulator/consumer.h> 17 17 18 - /* Contol registers */ 18 + /* Control registers */ 19 19 #define DRV2665_STATUS 0x00 20 20 #define DRV2665_CTRL_1 0x01 21 21 #define DRV2665_CTRL_2 0x02
+1 -1
drivers/input/misc/drv2667.c
··· 16 16 #include <linux/delay.h> 17 17 #include <linux/regulator/consumer.h> 18 18 19 - /* Contol registers */ 19 + /* Control registers */ 20 20 #define DRV2667_STATUS 0x00 21 21 #define DRV2667_CTRL_1 0x01 22 22 #define DRV2667_CTRL_2 0x02
+1 -1
drivers/input/misc/ideapad_slidebar.c
··· 23 23 * 24 24 * The value is in byte range, however, I only figured out 25 25 * how bits 0b10011001 work. Some other bits, probably, 26 - * are meaningfull too. 26 + * are meaningful too. 27 27 * 28 28 * Possible states: 29 29 *
+1 -1
drivers/input/misc/ims-pcu.c
··· 739 739 { 740 740 int error; 741 741 742 - /* Execute jump to the bootoloader */ 742 + /* Execute jump to the bootloader */ 743 743 error = ims_pcu_execute_command(pcu, JUMP_TO_BTLDR, NULL, 0); 744 744 if (error) { 745 745 dev_err(pcu->dev,
+1 -1
drivers/input/misc/kxtj9.c
··· 25 25 /* CONTROL REGISTER 1 BITS */ 26 26 #define PC1_OFF 0x7F 27 27 #define PC1_ON (1 << 7) 28 - /* Data ready funtion enable bit: set during probe if using irq mode */ 28 + /* Data ready function enable bit: set during probe if using irq mode */ 29 29 #define DRDYE (1 << 5) 30 30 /* DATA CONTROL REGISTER BITS */ 31 31 #define ODR12_5F 0
+1 -1
drivers/input/misc/soc_button_array.c
··· 515 515 }; 516 516 517 517 /* 518 - * Button info for Microsoft Surface 3 (non pro), this is indentical to 518 + * Button info for Microsoft Surface 3 (non pro), this is identical to 519 519 * the PNP0C40 info except that the home button is active-high. 520 520 * 521 521 * The Surface 3 Pro also has a MSHW0028 ACPI device, but that uses a custom
+1 -1
drivers/input/misc/wistron_btns.c
··· 271 271 { KE_BLUETOOTH, 0x30 }, /* Fn+F10 */ 272 272 { KE_KEY, 0x31, {KEY_MAIL} }, /* mail button */ 273 273 { KE_KEY, 0x36, {KEY_WWW} }, /* www button */ 274 - { KE_WIFI, 0x78 }, /* satelite dish button */ 274 + { KE_WIFI, 0x78 }, /* satellite dish button */ 275 275 { KE_END, FE_WIFI_LED } 276 276 }; 277 277
+2 -2
drivers/input/misc/yealink.c
··· 377 377 if (len > sizeof(yld->ctl_data->data)) 378 378 len = sizeof(yld->ctl_data->data); 379 379 380 - /* Combine up to <len> consecutive LCD bytes in a singe request 380 + /* Combine up to <len> consecutive LCD bytes in a single request 381 381 */ 382 382 yld->ctl_data->cmd = CMD_LCD; 383 383 yld->ctl_data->offset = cpu_to_be16(ix); ··· 614 614 return show_line(dev, buf, LCD_LINE3_OFFSET, LCD_LINE4_OFFSET); 615 615 } 616 616 617 - /* Writing to /sys/../lineX will set the coresponding LCD line. 617 + /* Writing to /sys/../lineX will set the corresponding LCD line. 618 618 * - Excess characters are ignored. 619 619 * - If less characters are written than allowed, the remaining digits are 620 620 * unchanged.