Commit aa68d2bd authored by Yan Zhen's avatar Yan Zhen Committed by Jiri Kosina
Browse files

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: default avatarYan Zhen <yanzhen@vivo.com>
Acked-by: default avatarSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.com>
parent c653ffc2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1183,7 +1183,7 @@ static const __u8 *asus_report_fixup(struct hid_device *hdev, __u8 *rdesc,

	if (drvdata->quirks & QUIRK_G752_KEYBOARD &&
		 *rsize == 75 && rdesc[61] == 0x15 && rdesc[62] == 0x00) {
		/* report is missing usage mninum and maximum */
		/* report is missing usage minimum and maximum */
		__u8 *new_rdesc;
		size_t new_size = *rsize + sizeof(asus_g752_fixed_rdesc);

+1 −1
Original line number Diff line number Diff line
@@ -2522,7 +2522,7 @@ static void hidpp_ff_work_handler(struct work_struct *w)
			/* regular effect destroyed */
			data->effect_ids[wd->params[0]-1] = -1;
		else if (wd->effect_id >= HIDPP_FF_EFFECTID_AUTOCENTER)
			/* autocenter spring destoyed */
			/* autocenter spring destroyed */
			data->slot_autocenter = 0;
		break;
	case HIDPP_FF_SET_GLOBAL_GAINS:
+1 −1
Original line number Diff line number Diff line
@@ -296,7 +296,7 @@ static void picolcd_fb_destroy(struct fb_info *info)
	/* make sure no work is deferred */
	fb_deferred_io_cleanup(info);

	/* No thridparty should ever unregister our framebuffer! */
	/* No thirdparty should ever unregister our framebuffer! */
	WARN_ON(fbdata->picolcd != NULL);

	vfree((u8 *)info->fix.smem_start);
+1 −1
Original line number Diff line number Diff line
@@ -946,7 +946,7 @@ hid_sensor_register_platform_device(struct platform_device *pdev,

	memcpy(real_usage, match->luid, 4);

	/* usage id are all lowcase */
	/* usage id are all lowercase */
	for (c = real_usage; *c != '\0'; c++)
		*c = tolower(*c);

+1 −1
Original line number Diff line number Diff line
@@ -253,7 +253,7 @@ enum
	ID_CONTROLLER_DECK_STATE = 9
};

/* String attribute idenitifiers */
/* String attribute identifiers */
enum {
	ATTRIB_STR_BOARD_SERIAL,
	ATTRIB_STR_UNIT_SERIAL,
Loading