Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 75a5f3ac authored by Colin Ian King's avatar Colin Ian King Committed by Jiri Kosina
Browse files

HID: wacom: fix mistake in printk



trivial fix to spelling mistake in hid_warn warning message

Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Reviewed-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 5ac3d4ae
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -2109,28 +2109,28 @@ static void wacom_wac_pen_event(struct hid_device *hdev, struct hid_field *field
		return;
		return;
	case WACOM_HID_WD_OFFSETLEFT:
	case WACOM_HID_WD_OFFSETLEFT:
		if (features->offset_left && value != features->offset_left)
		if (features->offset_left && value != features->offset_left)
			hid_warn(hdev, "%s: overriding exising left offset "
			hid_warn(hdev, "%s: overriding existing left offset "
				 "%d -> %d\n", __func__, value,
				 "%d -> %d\n", __func__, value,
				 features->offset_left);
				 features->offset_left);
		features->offset_left = value;
		features->offset_left = value;
		return;
		return;
	case WACOM_HID_WD_OFFSETRIGHT:
	case WACOM_HID_WD_OFFSETRIGHT:
		if (features->offset_right && value != features->offset_right)
		if (features->offset_right && value != features->offset_right)
			hid_warn(hdev, "%s: overriding exising right offset "
			hid_warn(hdev, "%s: overriding existing right offset "
				 "%d -> %d\n", __func__, value,
				 "%d -> %d\n", __func__, value,
				 features->offset_right);
				 features->offset_right);
		features->offset_right = value;
		features->offset_right = value;
		return;
		return;
	case WACOM_HID_WD_OFFSETTOP:
	case WACOM_HID_WD_OFFSETTOP:
		if (features->offset_top && value != features->offset_top)
		if (features->offset_top && value != features->offset_top)
			hid_warn(hdev, "%s: overriding exising top offset "
			hid_warn(hdev, "%s: overriding existing top offset "
				 "%d -> %d\n", __func__, value,
				 "%d -> %d\n", __func__, value,
				 features->offset_top);
				 features->offset_top);
		features->offset_top = value;
		features->offset_top = value;
		return;
		return;
	case WACOM_HID_WD_OFFSETBOTTOM:
	case WACOM_HID_WD_OFFSETBOTTOM:
		if (features->offset_bottom && value != features->offset_bottom)
		if (features->offset_bottom && value != features->offset_bottom)
			hid_warn(hdev, "%s: overriding exising bottom offset "
			hid_warn(hdev, "%s: overriding existing bottom offset "
				 "%d -> %d\n", __func__, value,
				 "%d -> %d\n", __func__, value,
				 features->offset_bottom);
				 features->offset_bottom);
		features->offset_bottom = value;
		features->offset_bottom = value;