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

HID: Fix typo in the comment

Correctly spelled comments make it easier for the reader to understand
the code.

Fix typos:
'mninum' -> 'minimum',
'destoyed' -> 'destroyed',
'thridparty' -> 'thirdparty',
'lowcase' -> 'lowercase',
'idenitifiers' -> 'identifiers',
'exeuction' -> 'execution',
'fregments' -> 'fragments',
'devides' -> 'devices'.

Signed-off-by: Yan Zhen <yanzhen@vivo.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>

authored by

Yan Zhen and committed by
Jiri Kosina
aa68d2bd c653ffc2

+8 -8
+1 -1
drivers/hid/hid-asus.c
··· 1183 1183 1184 1184 if (drvdata->quirks & QUIRK_G752_KEYBOARD && 1185 1185 *rsize == 75 && rdesc[61] == 0x15 && rdesc[62] == 0x00) { 1186 - /* report is missing usage mninum and maximum */ 1186 + /* report is missing usage minimum and maximum */ 1187 1187 __u8 *new_rdesc; 1188 1188 size_t new_size = *rsize + sizeof(asus_g752_fixed_rdesc); 1189 1189
+1 -1
drivers/hid/hid-logitech-hidpp.c
··· 2522 2522 /* regular effect destroyed */ 2523 2523 data->effect_ids[wd->params[0]-1] = -1; 2524 2524 else if (wd->effect_id >= HIDPP_FF_EFFECTID_AUTOCENTER) 2525 - /* autocenter spring destoyed */ 2525 + /* autocenter spring destroyed */ 2526 2526 data->slot_autocenter = 0; 2527 2527 break; 2528 2528 case HIDPP_FF_SET_GLOBAL_GAINS:
+1 -1
drivers/hid/hid-picolcd_fb.c
··· 296 296 /* make sure no work is deferred */ 297 297 fb_deferred_io_cleanup(info); 298 298 299 - /* No thridparty should ever unregister our framebuffer! */ 299 + /* No thirdparty should ever unregister our framebuffer! */ 300 300 WARN_ON(fbdata->picolcd != NULL); 301 301 302 302 vfree((u8 *)info->fix.smem_start);
+1 -1
drivers/hid/hid-sensor-custom.c
··· 946 946 947 947 memcpy(real_usage, match->luid, 4); 948 948 949 - /* usage id are all lowcase */ 949 + /* usage id are all lowercase */ 950 950 for (c = real_usage; *c != '\0'; c++) 951 951 *c = tolower(*c); 952 952
+1 -1
drivers/hid/hid-steam.c
··· 253 253 ID_CONTROLLER_DECK_STATE = 9 254 254 }; 255 255 256 - /* String attribute idenitifiers */ 256 + /* String attribute identifiers */ 257 257 enum { 258 258 ATTRIB_STR_BOARD_SERIAL, 259 259 ATTRIB_STR_UNIT_SERIAL,
+1 -1
drivers/hid/intel-ish-hid/ishtp-fw-loader.c
··· 793 793 if (rv < 0) 794 794 goto end_err_fw_release; 795 795 796 - /* Step 3: Start ISH main firmware exeuction */ 796 + /* Step 3: Start ISH main firmware execution */ 797 797 798 798 rv = ish_fw_start(client_data); 799 799 if (rv < 0)
+1 -1
drivers/hid/intel-ish-hid/ishtp/client.c
··· 863 863 /* Send ipc fragment */ 864 864 ishtp_hdr.length = dev->mtu; 865 865 ishtp_hdr.msg_complete = 0; 866 - /* All fregments submitted to IPC queue with no callback */ 866 + /* All fragments submitted to IPC queue with no callback */ 867 867 ishtp_write_message(dev, &ishtp_hdr, pmsg); 868 868 cl->tx_offs += dev->mtu; 869 869 rem = cl_msg->send_buf.size - cl->tx_offs;
+1 -1
drivers/hid/usbhid/hid-core.c
··· 1100 1100 1101 1101 interval = endpoint->bInterval; 1102 1102 1103 - /* Some vendors give fullspeed interval on highspeed devides */ 1103 + /* Some vendors give fullspeed interval on highspeed devices */ 1104 1104 if (hid->quirks & HID_QUIRK_FULLSPEED_INTERVAL && 1105 1105 dev->speed == USB_SPEED_HIGH) { 1106 1106 interval = fls(endpoint->bInterval*8);